Hi all

I recently posted about a memory leak in numpy and failed to mention the
version. The leak manifests itself in numpy-1.0.3.1 but is not present in
numpy-1.0.2

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?

Thanks
Robert
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to