[Numpy-tickets] [NumPy] #570: Vectorize leaks
NumPy
numpy-tickets@scipy....
Mon Oct 8 22:15:14 CDT 2007
#570: Vectorize leaks
-----------------------------+----------------------------------------------
Reporter: albertstrasheim | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.0.4 Release
Component: numpy.core | Version: none
Severity: normal | Resolution:
Keywords: |
-----------------------------+----------------------------------------------
Comment (by oliphant):
The following code leaks memory.
{{{
def toto(x):
return x**2
tutu=vectorize(toto)
Nbins=10000
for i in xrange(1000):
c=tutu(arange(Nbins))
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/570#comment:4>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list