> 
> > 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...
                                          
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to