[IPython-dev] memory leak?

Hans Meine hans_meine at gmx.net
Sat Apr 8 06:59:50 CDT 2006


On Friday 07 April 2006 19:45, Jörgen Stenarson wrote:
> The gc.collect() works as long as I have not done something that will
> put results in Out. I have tried Out.clear() and deleting all _x where x
> is a number. But that doesn't do the trick, is there some other way of
> clearing the output cache?

Ah, yes!  That would be a feature I have been looking for many times 
already! :-)

Sth. like the following would be great:

%clearout - clear whole cache
%clearout 112 - clear one line
%clearout :100 140:150 113 - clear multiple (sub)ranges

/me looking forward to Fernandos' "That has been there for ages" comment.
(Or to his time machine?) ;-)

-- 
Ciao, /  /                                                    .o.
     /--/                                                     ..o
    /  / ANS                                                  ooo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/ipython-dev/attachments/20060408/63618dd0/attachment-0002.bin 


More information about the IPython-dev mailing list