-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak add/destroy/unload objects #577
Comments
I've seen behavior like this before, but I haven't tested it in a long time. There are three possibilities:
My guess has thus far been that 1. is correct. This is a very difficult bug to resolve because it takes so long to reproduce it and the profiler in this case isn't very helpful. Since you have already made shapenet asset bundles, and I haven't, it would be very helpful if you could try the following:
|
|
What is the other library? Please send a zip of 1000 or so ShapeNet asset bundles. I could generate them myself but I want to be sure we're testing the same thing. |
It is the Toys4k library from this paper: Stojanov, S., Thai, A., & Rehg, J. M. (2021). Using shape to categorize: Low-shot learning with an explicit shape bias. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition (pp. 1798-1808). Here are some of my bundles, I only work with Linux: https://drive.google.com/file/d/1d5C35gf-DQBdWfOLfRLnTr920q_W1hCG/view?usp=sharing |
Hi,
I'm using a setup where I add and remove a lot of Shapenet-Core objects. So I successively run add_object, destroy object and then I free the memory with the command unload_asset_bundles. unload_unused_assets is useless in my case for unknown reasons. unload_asset_bundles indeed reduce the used memory, but the memory keeps increasing as I add new objects until I run out of memory. Do I misunderstand something ?
The text was updated successfully, but these errors were encountered: