[Numpy-discussion] Memory leak in vectorize ?

2007-10-07 Thread Cyrille Rosset
Hello, the following code seems to create a memory leak in Python. (around 230 MB). Any ideas what's wrong ? I'm using python 2.5 and numpy 1.0.3 --- def toto(x): return x**2 tutu=vectorize(toto) Nbins=1 for i in xrange(1000): c=tutu(arange(Nbins)) --

Re: [Numpy-discussion] Memory leak when looking .flags

2007-05-20 Thread Cyrille Rosset
Ok, that works fine with python. But not in ipython... is there some other trick ? (there's a whole collection of _* variables in there...) Cyrille. Robert Kern a écrit : > Cyrille Rosset wrote: >> Hi, >> >> I'm not sure this is the right mailing list for this, bu

[Numpy-discussion] Memory leak when looking .flags

2007-05-20 Thread Cyrille Rosset
o() Upper bound on total bytes = 0 That looks nice, but the memory usage by python (in top) is still 25%... Isn't it a bug ? Cheers Cyrille Rosset. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion