[Numpy-discussion] Memory leak in ndarray
Robert Crida
robert.crida at ska.ac.za
Fri Oct 26 05:26:12 EDT 2007
Hi all
I seem to have tracked down a memory leak in the string conversion mechanism
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)
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?
Thanks
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20071026/22e136bc/attachment.html>
More information about the NumPy-Discussion
mailing list