From: Fernando P. <Fer...@co...> - 2005-04-06 23:48:41
|
John Hunter wrote: >>>>>>"Fernando" == Fernando Perez <Fer...@co...> writes: > > Fernando> Oh, I don't think it's necessarily a leak. Simply a ton > Fernando> of unreachable stuff lying around, which a call to > Fernando> gc.collect() may help with. > > I hope you're right -- matplotlib uses a lot of cyclic references. > But if he's using the pylab interface to manage the figure windows, > the destroy event of the window manager already triggers a call to > gc.collect in the _pylab_helpers module. Never mind then. If gc.collect is already called reasonably often, an extra manual call will do zilch. Sorry. Best, f |