From: John H. <jdh...@ac...> - 2006-05-16 15:25:32
|
>>>>> "clovis" == clovis <cl...@pe...> writes: clovis> All, I followed up the 'memory leak' discussion in the clovis> sourceforge list and I know the Matplotlib-FAQ entry about clovis> this subject. I've also seen John Hunter's post about the clovis> need of matching figure/close pairs. Anyway, I still feel clovis> that there are problems in this subject, which can be clovis> exposed by the following script (for Windows, but can clovis> easily be adapted to Unix). clovis> As can be seen by the results (also given below), there is clovis> a steady increase in memory usage which is not recovered! If I recall correctly, there is a known leak in tkagg when you create multiple canvases, and this is in Tk and not matplotlib proper. Todd may have something to add here. JDH |