[Numpy-discussion] Memory leak in numpy?

Julian Taylor jtaylor.debian at googlemail.com
Wed Jan 29 14:52:32 EST 2014


On 29.01.2014 20:44, Nathaniel Smith wrote:
> On Wed, Jan 29, 2014 at 7:39 PM, Joseph McGlinchy <JMcGlinchy at esri.com> wrote:
>> Upon further investigation, I do believe it is within the scipy code where
>> there is a leak. I commented out my call to processBinaryImage(), which is
>> all scipy code calls, and my memory usage remains flat with approximately a
>> 1MB variation. Any ideas?
> 
> I'd suggest continuing along this line, and keep chopping things out
> until you have a minimal program that still shows the problem --
> that'll probably make it much clearer where the problem is actually
> coming from...
> 
> -n

depending on how long the program runs you can try running it under
massif the valgrind memory usage proftool, that should give you a good
clue where the source is.




More information about the NumPy-Discussion mailing list