[pygtk] gtk.Builder and memory leak...

Hakan K hakkan.k at hotmail.com
Sun Apr 10 18:01:49 WST 2011



Same behavior with "gtk.glade.XML" object, not only gtk.Builder.

in attachment, there is a simple window that containing a button. When pushes button, it creates a dialog box. When ok button of dialog pushes, dialog get destyoyed. 

problem: approximate every 30 shows of dialog consumes 0.1 Kb of memory(linux says it resident memory). 
is it normal or what is wrong with this code?

in my previous sample code, i tested code for about 1 hour. Memory usage reaches 60 Mb and growing continously.

Please note, memory usage doesn't growing when widgets created with code and "gtk.glade.XML" or "gtk.Builder" not used.




 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110410/0058e436/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: msgBox.zip
Type: application/zip
Size: 3545 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110410/0058e436/attachment.zip>


More information about the pygtk mailing list