[Numpy-discussion] Memory leak in argsort?

Keith Goodman kwgoodman@gmail....
Mon Feb 5 11:20:39 CST 2007


On 2/5/07, Francesc Altet <faltet@carabos.com> wrote:
> El dl 05 de 02 del 2007 a les 08:45 -0800, en/na Keith Goodman va
> escriure:
> > This eats up memory quickly on my system.
> >
> > import numpy.matlib as M
> >
> > def memleak():
> >     a = M.randn(500, 1)
> >     while True:
> >         a = a.argsort(0)
>
> Yeah, the guilty in this case is argsort():
>
> http://projects.scipy.org/scipy/numpy/ticket/394

The first page of trac search results for argsort shows the ticket.
Now I know to check there first.

Will the latest numpy from svn work with matplotlib 0.87.7?


More information about the Numpy-discussion mailing list