[wxPython-users] wxPython memory usage
Dreas van Donselaar
dreas at emailaccount.nl
Fri Feb 2 05:54:35 PST 2007
Hi Andrea,
Thanks for your quick response. The VM Size is indeed not affected by
closing/minimizing. It shows 40MB though which seems to be quite a lot.
I guess we have to optimize our code somehow. Or are there "general
tricks" to lower this? Is 40MB common for a Python/wxPython app?
Kind regards,
Dreas van Donselaar
Andrea Gavana wrote:
> 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/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
>
>
More information about the wxpython-users
mailing list