John Hunter wrote: > On 6/30/07, Eric Firing <[EMAIL PROTECTED]> wrote: >> Mike, >> >> All this sounds like great progress--thanks! I particularly appreciate >> the descriptions of what problems you found and how you found them. >> >> John et al.: is there a maintainer for each of these backends? I think > > gtk: Steve Chaplin or me > wx: Ken McIvor > qt: Darren? > tk: Charlie? > > After we get these patches in, we can just give Michael commit > privileges :-) I can probably look at this Monday, but if you want to > commit and test some of these before then, please do so.
Done. It looks like there is still plenty of memory leakage, but there are improvements, and the huge list of uncollectable garbage with tkAgg is gone. I also made memleak_gui.py more flexible with arguments. For example, here are tests with three backends, a generous number of loops, and suppression of intermediate output: python ../unit/memleak_gui.py -d wx -s 500 -e 1000 -q uncollectable list: [] Backend WX, toolbar toolbar2 Averaging over loops 500 to 1000 Memory went from 29316k to 31211k Average memory consumed per loop: 3.7900k bytes python ../unit/memleak_gui.py -d tkagg -s 500 -e 1000 -q uncollectable list: [] Backend TkAgg, toolbar toolbar2 Averaging over loops 500 to 1000 Memory went from 29202k to 31271k Average memory consumed per loop: 4.1380k bytes python ../unit/memleak_gui.py -d gtkagg -s 500 -e 1000 -q uncollectable list: [] Backend GTKAgg, toolbar toolbar2 Averaging over loops 500 to 1000 Memory went from 29324k to 31131k Average memory consumed per loop: 3.6140k bytes So, this test is still showing problems, with similar memory consumption in these three backends. Eric > > JDH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel