Paging File Maximum Size Ignored

R

Robert Newell

No matter how small the paging file maximum size is set,
including zero (No paging file), the Task Manager
Performance tab always shows the same behavior (PF Usage
adjusts to the application being run). Is there any way to
control (or disable) paging to virtual memory?
 
D

David Jones

The "PF usage" in Task Manager is the combination of
physical and virtual memory commited (which isn't quite
the same as allocated). It is NOT how much of the
pagefile is in use.

If you're really interested (it's complex, but there
should always be some stuff in the paging file), you can
see the current pagefile status by opening Performance
Monitor (perfmon.exe) and adding the counters in the
Paging File section.
 
A

Andrew E

Go to run,type:regedit Edit the,HKEY_LOCAL_MACHINE\SYSTEM\
CurrentControlSet\Control\SessionManager\MemoryManagement
Open memory mgt.L.click DisablePagingExecutive
Go to edit,modify,set to 1 from 0 This sets to use ram
instead of paging file.You should have 512mb of ram,set
virtual memory to,let windows manage,Intel,Microsoft
both say you must have a page file.
 
R

Ron Martell

Robert Newell said:
No matter how small the paging file maximum size is set,
including zero (No paging file), the Task Manager
Performance tab always shows the same behavior (PF Usage
adjusts to the application being run). Is there any way to
control (or disable) paging to virtual memory?

Restricting the page file is one very good way to effectively reduce
the overall performance of a computer.

Windows is designed to operate with a paging file and it must be
present and of sufficient size to suit its requirements.

The critical factor with Windows and the paging file is to have
sufficient RAM so as to eliminate or at least greatly reduce the need
to actually move memory pages from RAM to the paging file. However
there is no readily available reporting tool in Windows that shows
this specific information.

The picture is further muddied by two facts that are not well
understood:

1. In Windows the term Virtual Memory actually means the total of all
memory space available to Windows, which is the sum of the physical
RAM plus the paging file.

2. The memory manager must, by definition, provide sufficient address
space either in RAM or in the paging file to meet the accumulated
total of all memory allocation requests that have been issued by
loaded Windows components, active application programs, and open user
data files. These memory allocation requests are typically
overstated, sometimes by a significant amount. So Windows will
allocate RAM only to those portions of the requests that are actually
being used and will use space in the paging file for the unused
portion. Note that doing this involves no disk activity - just
entries in the internal paging table maintained by the CPU. And if
some of the unused request should subsequently be used then that
portion is remapped to an available location in RAM. The end result
of this is that there can be a fairly substantial requirement for
paging file space to meet these unused requests even though there may
also be physical RAM not yet allocated. This is healthy and
efficient.


As I said previously, the critical factor in memory management is the
actual moving of active memory pages from RAM to the paging file so
that RAM can be used for other currently more important purposes. You
can download a free utility for reporting this from
http://www.dougknox.com/xp/utils/xp_pagefilemon.htm or from
http://billsway.com/notes_public/WinXP_Tweaks
If that utility reports more than 50 mb of actual usage on a regular
basis then that is indicative of fairly heavy paging in and out of
active memory pages and therefore more RAM would result in improved
performance.

Good luck


Ron Martell Duncan B.C. Canada
--
Microsoft MVP
On-Line Help Computer Service
http://onlinehelp.bc.ca

"The reason computer chips are so small is computers don't eat much."
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top