[wxpython-users] slow startup of wxPython application

Jürgen Kareta python at kareta.de
Thu Apr 17 12:44:08 PDT 2008


Paul McNett schrieb:
> C M wrote:
>> I'm left wondering about what is happening in the "cold" vs. "warm"
>> loads.  If I exit all Python applications on my computer, and then
>> reload the program, it loads very quickly, so something is still in
>> memory.  Is it the Python interpreter?  What explains this?  And how
>> can one zero things out such that one is back to a cold start (without
>> having to restart the computer)?
>
> It is a feature of Windows that keeps the program image around for 
> awhile so it doesn't need to reload on subsequent startups. You can 
> control it by deleting the associated image file, which is in a hidden 
> folder in the system directory somewhere, the name of which is 
> escaping me right now and a google search wasn't successful.
>
> Paul
> _______________________________________________
> wxpython-users mailing list
> wxpython-users at lists.wxwidgets.org
> http://lists.wxwidgets.org/mailman/listinfo/wxpython-users
>
>
Hi Paul,
I guess you meant the Windows System Cache:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fnec_evl_acks.mspx?mfr=true
and for optimisation:
http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fnec_evl_acks.mspx?mfr=true
but the cache is stored in pagefile.sys and you can't delete parts of it.
Jürgen


More information about the wxpython-users mailing list