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

2007-05-20 Thread Robert Kern
Cyrille Rosset wrote: > Ok, that works fine with python. > But not in ipython... is there some other trick ? > (there's a whole collection of _* variables in there...) And the Out[NN]'s, too. You should be able to del all of them: del Out[NN], _NN, _, __, ___ -- Robert Kern "I have come to b

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, but it seems >> there's a memory l

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

2007-05-20 Thread Robert Kern
Cyrille Rosset wrote: > Hi, > > I'm not sure this is the right mailing list for this, but it seems > there's a memory leak when looking at flags : > > >>> from numpy import * > >>> x=ones(5000) #==> python use 25% of memory (ok) > >>> del x > #==> memory usage fall back to almost ze

[Numpy-discussion] Memory leak when looking .flags

2007-05-20 Thread Cyrille Rosset
Hi, I'm not sure this is the right mailing list for this, but it seems there's a memory leak when looking at flags : >>> from numpy import * >>> x=ones(5000) #==> python use 25% of memory (ok) >>> del x #==> memory usage fall back to almost zero (as seen in top) Thqt's good. but if