[Numpy-discussion] Memory leak in ndarray, more info
Fri Oct 26 05:46:20 CDT 2007
Which version Python are you using ?
2007/10/26, Robert Crida <firstname.lastname@example.org>:
> Hi all
> I recently posted about a memory leak in numpy and failed to mention the
> version. The leak manifests itself in numpy-126.96.36.199 but is not present in
> The following code reproduces the bug:
> import numpy as np
> a = np.array([1.0, 2.0, 3.0])
> while True:
> b = str(a)
> What happens above is that is repeatedly converted to a string. The
> process size grow quite rapidly.
> Has anyone else come across this? Where do I look to try to correct it?
> Numpy-discussion mailing list
French PhD student
Website : http://miles.developpez.com/
Blogs : http://matt.eifelle.com and http://blog.developpez.com/?blog=92
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Numpy-discussion