[Numpy-discussion] Interesting memory leak
fullung at gmail.com
Fri Aug 18 05:31:06 CDT 2006
> I decided to upgrade to 1.0b2 just to see what I get and now I get 7kB of
> "possibly lost" memory, coming from PyObject_Malloc (in
> /usr/lib/libpython2.4.so.1.0). This is a constant 7kB, however, and it
> isn't getting any larger if I increase the loop iterations. Looks good
> then. I don't really know the meaning of this "possibly lost" memory.
This leak is caused by add_docstring, but it's supposed to leak. I wonder if
there's a way to register some kind of on-exit handler in Python so that
this can also be cleaned up?
More information about the Numpy-discussion