[Numpy-discussion] Memory leak in ndarray
Fri Oct 26 06:14:12 CDT 2007
I don't think it is a python issue because if you change the line b = str(a)
to just read
then the problem still occurs.
Also, if you change a to be a list instead of ndarray then the problem does
On 10/26/07, Matthew Brett <firstname.lastname@example.org> wrote:
> > I seem to have tracked down a memory leak in the string conversion
> > of numpy. It is demonstrated using the following code:
> > import numpy as np
> > a = np.array([1.0, 2.0, 3.0])
> > while True:
> > b = str(a)
> Would you not expect python rather than numpy to be dealing with the
> memory here though?
> Numpy-discussion mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion