[Numpy-discussion] Memory leak in ndarray

David Cournapeau cournape@gmail....
Fri Oct 26 08:48:57 CDT 2007


On 10/26/07, Robert Crida <robert.crida@ska.ac.za> wrote:
> Hi again
>
> I watch the VmSize of the process using eg top or ps
>
> If a is a list then it remains constant. If a is an ndarray as shown in the
> example, then the VmSize grows quite rapidly.
>
Actually, I did a typo while copying your example. I can confirm the
memory leak (happen in PyObject_Malloc).

cheers,

David


More information about the Numpy-discussion mailing list