Unsolved

This post is more than 5 years old

2 Intern

 • 

2.5K Posts

2694

April 16th, 2005 20:00

Page File Size

There have been numerous threads about the sizing the page file.  I have alway fought the 1.5 - 3 time ram size recommendation to no avail.  I now believe I have the supporting documentation for my position.  My reference Is Microsoftg Windows Internals, Fourth edition by Mark E Russunovich and Davis A Solomon, MIcrosoft Press ISBN 0-7356-1917-4.   On page 446 "Although most do it, basing page file size as a function of RAM makes no sense because the more memory you have, the less likeky you arfe to need to page data out."  All of the chapter talks about memory management, and would answer many questions raised here

Message Edited by msgale on 04-16-2005 07:15 PM

2 Intern

 • 

4.4K Posts

April 17th, 2005 13:00

msgale,

so my new i6000 has 2 gig of memory, so i don't need a page file setting?

2 Intern

 • 

2.5K Posts

April 17th, 2005 21:00

No, you may or may not need a swap file.  But doesn't need to be 1.5 to 3 times real memory.  Actually it can't be greater than two gigabytes on a two gigabyte PC.  I would suggest about 500 mbytes and see if you get any out of memory errors.

2 Intern

 • 

2.2K Posts

April 18th, 2005 05:00

Supporting opinion also comes from The Windows XP Tweaking Companion -

"Although there are many differing opinions on how big the pagefile should be, one rule every Windows XP expert agrees on is never 'disable' your pagefile regardless of how much RAM you have. Windows XP needs a pagefile in order to operate correctly. Setting the pagefile to zero or a tiny size does not speed up your performance by 'forcing' XP to use physical RAM. Windows XP's memory management does not work that way..."
 
"To accurately determine the optimal pagefile size you should see how much memory your most memory intensive programs use and then set the pagefile to comfortably accommodate this. A rough and ready way of doing this is to configure your Task Manager as specified under the Task Manager section, then run what you believe is your most memory-intensive application or game and use it for a period of time. Then without quitting the game or application, bring up the Task Manager and check the peak memory usage figure for the largest process under the Processes tab - this should indicate how much memory the program usually needs. Also after a period of time using various applications and games on your system, open up Task Manager and go to the Performance tab, then check the Peak figure under the 'Commit Charge (K)' section - this is approximately the maximum amount of memory in KB required so far by your system. These will give you an indication of how much total memory you need when going through the next step."
 
"Since the total memory available to Windows XP is a combination of your Virtual Memory plus your 'Real Memory' (System RAM), you should ensure that the sum of these two is sufficiently large to prevent Windows from running out of memory. In general, I suggest a minimum of 2GB (2048MB) for your Virtual Memory + RAM:
Example: If you have 256MB of RAM set the Initial and Maximum pagefile sizes to 1792MB each.
Example: If you have 512MB of RAM, set the Initial and Maximum pagefile sizes to 1536MB each.
Example: If you have 1024MB (1GB) of RAM, set the Initial and Maximum pagefile sizes to 1024MB each.
Example: If you have 2GB of RAM or more, set the Initial and Maximum pagefile sizes to 200MB each."
 
"Note that the common myth about the pagefile being '1.5 x RAM' or some other multiple is quite clearly counterintuitive. Consider the situation where you only have 128MB of RAM: setting the maximum pagefile size to 1.5 x 128MB = 192MB + 128MB = 320MB of total available memory for Windows XP which is obviously not going to give you enough memory for modern games and applications. Remember, it is about how much total memory (RAM + Pagefile) that should be made available for Windows to operate efficiently."

See this post for a link to the Tweaking Companion, submitted by SR45.
 
GM

0 events found

No Events found!

Top