|Re: Java SWT Minimized-Shell RAM Usage [message #466378 is a reply to message #466373]
||Mon, 09 January 2006 15:52
Originally posted by: richkulp.us.NO_SPAM.ibm.com|
It's not really important to have it smaller in this case. 20Meg is not
much these days. If it is minimized and not in use, Windows will swap it
out to disk for you automatically when it needs the space. If it doesn't
need the physical memory then there is no need to swap it out. It
doesn't really cause any problems to have memory allocated and no
programs actively using it or needing the physical memory it is using.
What is important with memory is the working set (i.e. how much is
needed in an active manner to do anything). You could have megs more
that are not actively being used and this doesn't cause any problems
until it is needed, because then it needs to be swapped in.
Actually windows does a drastic swap to disk when a minimize occurs (as
you already noted). It is not actually reducing its memory usage, only
reducing the physical memory usage. The virtual memory is still the same.
Probably Windows only does the massive swap on an explicit minimize. It
probably doesn't see it when it is created as minimized.
Powered by FUDForum
. Page generated in 0.01524 seconds