Eric Firing wrote:
> Jeff Whitaker wrote:
>> Jesper Larsen wrote:
>>> Hi matplotlib users,
>>>
>>> I'm using matplotlib for a long running process. Unfortunately the 
>>> memory usage continue to grow as the process runs. I have appended a 
>>> simple example which illustrates this at the end of this mail. 
>>> Unfortunately I haven't figured out how to use the information 
>>> obtainable from gc for anything useful in this regards.
> [...]
>>>   
>> Jesper:  Looks to me like the memory leak is not in Basemap, but 
>> somehow the fig.clear() is not working properly.  Replacing the 
>> fig.clear() with pylab.gca() gets rid of the memory leak.  I will 
>> investigate further ...
>>
>>
>> -Jeff
>>
>
> Jeff, this might be related to the leak illustrated in the attached 
> script, based on an earlier report.  (I don't recall who reported it.)
>
> Eric
>

Eric:  Don't think so, since Jesper's script leaks even when the backend 
is set to 'Agg' (while the one you sent doesn't).

-Jeff

-- 
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : [EMAIL PROTECTED]
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to