Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sequence not clearing from memory, sequence.destroy not working #237
If I do this
or even explicity destroy the image like this
I end up with images piling up in memory (and then on disk in /tmp) until i reach a segmentation fault. It appears the ImageSingle stuff is not getting cleared.
I posted about it here, in case that helps.:
I have also run into this issue recently. I spent a little bit of time troubleshooting and was able to narrow it down to something that is happening inside
this is fine:
but this will not free up the allocated memory:
I can even specify that it only holds onto the memory for the specific sequence item that you interact with. If you have images in the sequence and you only examine one of them, it will free the rest up.
Sorry I am not able to provide any more detail. Hope that is useful.
Please clone/checkout my development branch issue-237, and verify if the issue still exists.
For folks wondering how I identified this, I used Apple's Instruments.app (a gui for ldb + batteries included.)
Using the example provided with Python 3.4 + ImageMagick 6.8.5 (both compiled with debug flags for backtrace & breakpoint support.)
Please help and verify.