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

Hakan K hakkan.k at hotmail.com
Tue Apr 12 03:28:22 WST 2011



> 
> > in my previous sample code, i tested code for about 1 hour. Memory
> > usage reaches 60 Mb and growing continously.
> 
> 60 Mb = 18 000 000 messagedialogs open/closed, right?
> Or if you prefer, if an user spends 1 month in front of your app,
> opening on average 1 messagedialog every 10 seconds, he will have wasted
> slightly less than 1 Mb, right?
> 

60 mb calculation was related with my first post(timer class version, not msgbox).

So, i was accepted show/hide method already.
But still, i think memory leak may be cause problem with application that have a lot of windows.
i.e, windows such as dialog boxes can be reuse. But other types of windows, preferences, options, specific windows etc, not required everytime.
it may be important application startup time and memory efficency.

Thanks for interest...
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20110411/08b9dce6/attachment.html>


More information about the pygtk mailing list