-
Notifications
You must be signed in to change notification settings - Fork 459
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
Error: Not freed memory blocks... #1167
Comments
Hi @freli19, sorry for the late response. Were you able to solve your issue in the meantime? |
Hello, No worries! I was not able to solve this problem yet, but it has not stopped me from using BlenderProc the last month. Since posting, the total unfreed memory did mysteriously decrease (and stayed at around 9 MB for many runs) only to increase again yesterday and today... I run separate script runs, it is not run in a loop. One theory I had for the decrease in unfreed memory was that I changed |
If you are using separate script runs, then there should be no memory sharing between them and each script run should behave the same. Are sure that the physics simulation is getting slower and slower? Is this maybe caused by using different objects each time? |
Hm, I was pretty sure that the physics simulation was taking increasingly more time for each run back in early December. But now I am no longer able to reproduce these results. |
Describe the issue
Hello,
I am trying to run a simple script that is like a hybrid of examples/basic/physics_positioning and examples/advanced/point_clouds. After running it a number of times,
bproc.object.simulate_physics_and_fix_final_poses()
takes longer and longer to run, and when finished I get the print out:Blender quit
Error: Not freed memory blocks: 9, total unfreed memory 49.438984 MB
Cleaning temporary directory
What can be done to delete or free these memory blocks? I have tried to find the solution but I am yet to succeed. And also, is there a common cause for the accumulation of these?
Thank you!
Minimal code example
Files required to run the code
No response
Expected behavior
I expect the simulation to finish within 20 seconds as it did before. Now i get the following prints:
![Capture](https://private-user-images.githubusercontent.com/190756014/392906723-f3e6f02b-0778-49fd-ad9f-5e294a1ef983.PNG?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzA0NTksIm5iZiI6MTczOTY3MDE1OSwicGF0aCI6Ii8xOTA3NTYwMTQvMzkyOTA2NzIzLWYzZTZmMDJiLTA3NzgtNDlmZC1hZDlmLTVlMjk0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TllNzZhODRjYWExY2E4MTgyMTg3JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.QnwFa_1Bvox25BbyWbbLOsQMd0F78Kd4LR9cuCa5YZw)
BlenderProc version
2.8.0
The text was updated successfully, but these errors were encountered: