-
Notifications
You must be signed in to change notification settings - Fork 145
Realign4dAlgorithm memleaks? #398
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
Comments
@bpinsard As far as I can see, |
Thanks for you quick reply. |
I wonder if running your script through valgrind with an option to track origins would help to identify possibly outside of direct python code memory allocations which were left behind On March 22, 2016 1:50:25 PM GMT+01:00, bpinsard [email protected] wrote:
Sent from a phone which beats iPhone. |
here is what I get:
I only copied the possibly lost blocks, I do not know if it helps. |
I have problems when using Realign4dAlgorithm, especially with large files in the nipype interface.
The memory seems no to be fully cleared then causing memory hog.
I tracked down with mprun down to cython function which seems to be the source.
_cspline_sample4d (3d/2d is certainly the same) to which an output array is given still take memory that is not released afterward.
for example running multiple times resampling (wrapped for memory_profiler to work) with the same value does take some memory (even if it stabilizes after a few). If I change the coordinates it again eat some more of the memory then stabilizes...
@alexis-roche do you have any idea? Thanks
The text was updated successfully, but these errors were encountered: