Hi
I presume you mean 4Gb of ram.
With that much Ram why do you need a pagefile?
To me it's just a waste of hard drive space
Chas
Actually having a pagefile makes the computer *more* efficient in
terms of RAM utilization.
This is because Windows must, by design, identify memory address space
for all memory requested by Windows components, application programs,
and device drivers. And all of these items will normally ask for
memory allocations that are larger, sometimes quite substantially
larger, than what they actually need under most circumstances.
If there is no pagefile then Windows must allocate RAM addresses to
all of these requests including the unused portions. However with the
pagefile in existence then Windows will only allocate locations in RAM
to those portions of the requests that are actually used and will map
the unused portions to locations in the pagefile. Note that mapping
of these unused portions to the pagefile does not require any actual
hard drive activity. All that is needed is to make entries in the
memory mapping tables maintained by the CPU.
So the mere fact that the pagefile exists will result in reduced usage
of RAM for Windows components, application programs, and device
drivers; allowing more of it to be used for disk cache, retention of
the code from recently closed applications (very often these
applications are relaunched), and so forth.
In addition to the memory management functions, Windows also uses the
pagefile for a number of other specialized purposes, such as:
- System Failure Memory Dumps. If this option has been selected (it
is on by default) then Windows will use the pagefile *on the boot
drive* to receive the memory dump, and then it will rename the file.
This is much faster than creating a new file to receive the dump, and
time is critical when these types of errors happen.
- Fast User Switching. If you have multiple users configured on a PC
and if you have the "fast user switching" option in effect then
Windows will use the pagefile to roll out the RAM content for the
previous user when the system is switched to a new user.
Hope this clarifies the situation.
Good luck
Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca
In memory of a dear friend Alex Nichol MVP
http://aumha.org/alex.htm