[IPython-dev] memory leak?

Fernando Perez Fernando.Perez at colorado.edu
Mon Apr 10 02:40:37 CDT 2006

Ville Vainio wrote:
> On 4/8/06, Hans Meine <hans_meine at gmx.net> wrote:
>>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
> I'll take a look at this over the next week, I have winter holiday so
> I should have plenty of time & energy to play with stuff like this.

Yes, something like this would be nice to have.  Note that the cache object 
already has some basic flushing capabilities:


which would be good to reuse/extend/cleanup.

In the meantime, the OP can use at least


for a full flush of the output cache (if not a line-targetted one).



More information about the IPython-dev mailing list