Robert Heiling said:
Are you certain that won't be paged, even though a copy remains in ram?
I in fact said that Win does in fact put stuff in the page file even when
there is plenty of free physical ram, AND leaves it in physical ram,
and it does that in the background, essentially because its never going
to be possible to predict what some app will want physical ram wise
or what the user will choose to run, so you might as well put the best
candidates for the page file in the page file ahead of time, in the
background, so you can just mark that stuff as no longer in physical
ram if there become a need for more physical ram than is installed.
That is done essentially instantly when its already in the page file.
What puzzles me most about this whole discussion is the lack of mention
of the demand that the running tasks place on memory requirements.
What was being discussed was what Win does page file use wise WHEN
THERE IS ENOUGH PHYSICAL RAM TO NEVER NEED THE PAGE FILE.
Only the user can ever know that, the OS can never be sure what some
app will request, or what the user may choose to run for the first time etc.
So it makes sense to put some stuff in the page file in the background,
just in case more physical ram is needed than is actually installed.
Yes. The size of physical ram is less important than the total memory
required by the running tasks for program code and data space. That
figure plays the most important role in the size of the pagefile and
its role has not even been mentioned.
Because what was being discussed was what Win does page file use wise
WHEN THERE IS ENOUGH PHYSICAL RAM TO NEVER NEED THE PAGE FILE.
That is obviously going to vary depending upon what use is made of the
systems and which, and how many, applications are being run concurrently.
Duh. Pity that was assumed when we were discussing the use of the page file
WHEN THERE IS ENOUGH PHYSICAL RAM TO NEVER NEED THE PAGE FILE.