[Numpy-discussion] Memory leak in ndarray

Robert Crida robert.crida@ska.ac...
Fri Oct 26 08:27:56 CDT 2007


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.

Cheers
Robert

On 10/26/07, David Cournapeau <david@ar.media.kyoto-u.ac.jp> wrote:
>
> Robert Crida wrote:
> > Hi
> >
> > I don't think it is a python issue because if you change the line b =
> > str(a) to just read
> > str(a)
> > then the problem still occurs.
> >
> > Also, if you change a to be a list instead of ndarray then the problem
> > does not occur.
> How do you know there is a memory leak ?
>
> cheers,
>
> David
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20071026/aee55619/attachment.html 


More information about the Numpy-discussion mailing list