[Numpy-discussion] memory leak in numpy.take

Dmitrey tmp50@ukr....
Fri Mar 9 05:22:30 CST 2012

memory leak was observed in numpy versions 1.5.1 and latest git trunc

from numpy import *
for i in range(100000):
if i % 100 == 0:
a = empty(10000,object)
for j in range(10000):
a[j] = array(1)
a = take(a, range(9000),out=a[:9000])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120309/05a4a38c/attachment.html 

More information about the NumPy-Discussion mailing list