[wxPython-users] wxPython memory usage
Andrea Gavana
andrea.gavana at gmail.com
Fri Feb 2 05:38:34 PST 2007
Hi Dreas,
> We have an in-house developed Python application using wxPython (running
> on Windows). When launching our application, memory usage according to
> TaskManager is around 35MB. When opening the GUI, memory increases to
> around 50MB. When closing the GUI window, nothing changes. When
> minimizing the GUI however, the memory usage drops to around 3MB! Can
> anyone explain this? If there anything we can change so TaskManager will
> report a lower amount of memory usage when our application is in the tray?
I won't trust Task Manager up to this point: all the Windows
applications behave in this way: run it, you get 18 MB; iconize it,
you get 3.5 MB; maximize it again, you get 7 MB. I am not an expert in
this things, but you may want to take a look here:
http://www.dataaccess.com/kbasepublic/KBPrint.asp?ArticleID=2141
I don't know why Task Manager is designed in this way, but it would be
nice to have a tool that shows you the real RAM usage whether the app
is iconized or not (which shouldn't even matter).
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/
More information about the wxpython-users
mailing list