[Numpy-discussion] Memory leak in argsort?

Keith Goodman kwgoodman@gmail....
Mon Feb 5 10:45:39 CST 2007


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)


More information about the Numpy-discussion mailing list