[pygtk] Need help to find origin of a mem leakage
David Tremouilles
david.trem at gmail.com
Thu Sep 27 21:17:04 WST 2007
Hello,
I'm struggling with a memory leakage of my pygtk app for quite some
time. Could somebody help me?
I join a demo program in attachment.
Basically, the final program will open a new notebook tab for each
scientific data openned by the user. A close button "a la Firefox"
will allow to close the tab.
The problem is that the memory consumption keeps on increasing while
opening and closing tabs.
In the demo attached a click on "button" will open a new tab. If, for
example, you open ten new tabs, then close ten tabs, and open again
ten tab, and repeat this many times you will see the memory
consumption increases after each 10 close-10 open cycles.
Could somebody help me on finding the origin of this leak?
Seems this is not a cycle reference (checked with gc.garbage) but I'm
definitely not an expert...
Thanks in advance,
David
More information about the pygtk
mailing list