[Numpy-discussion] Error in deallocation ?

David Cournapeau david@ar.media.kyoto-u.ac...
Wed Oct 17 08:42:32 CDT 2007


Matthieu Brucher wrote:
>
>     As said, my approach to debugging this kind of thing is to get out of
>     python ASAP. And once you manage to reproduce the result when calling
>     only a couple of python functions, then you use massif or memcheck.
>
>
> I agree with you, the problem is that I do not use directly C 
> functions and that I do not know how I can reproduce the result with a 
> minimal example.
Yes, that's why I suggested looking at the memory usage (using top or 
something else). Because maybe the problem can be spotted long before 
seeing it happening, hence having smaller code (which you could e.g. 
post, etc...)

But if you can reproduce it with 128*128 images, then maybe it is quick 
enough to run the whole thing under massif ?

cheers,

David


More information about the Numpy-discussion mailing list