Final word on XP page file size?

I have read various guidelines on how to best set the page file size, including these, with their downsides:

-Set the low end equal to the ram size, and the high end to 2.5 times the ram size, but I'm told that this uses resources while XP manages the size.

-Set the low and high to the same number, and 2.5 the size of ram, so XP does not have to manage it.  But I'm told that the user will be in 'big trouble' if XP ever needs more.

-Set it so that XP automatically manages it, like in Win98.  I have seen Microsoft recommend this approach on their site.  But I'm told that XP will have to manage this, wasting resources.  And, after setting it this way for numerous users in real-life environments, they still get warnings saying they are low!

So what's the bottom line on the best way to manage the page file size?  To me, 'best' means that it gives maximum benefit with few downsides, and does not continue to warn the user that they've got 'problems', which worries them needlessly!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Depends on how much RAM you have how much of it is used. I set the Min and Max to the same size. This prevents it from becoming fragmented. I currentl have 1GB of RAM and I have set it the page file to 200MB's
>>>they still get warnings saying they are low!

What message are they seeing?
Any setting is a COMPROMISE here.  You need to do what works BEST for your situation.  There is NO "always the best" choice here.  Otherwise, this options would not exist.

I disagree with the statement:

"-Set the low and high to the same number, and 2.5 the size of ram, so XP does not have to manage it.  But I'm told that the user will be in 'big trouble' if XP ever needs more."

First, this is not a catastrophic error.  XP, when it runs out of virtual space in the page file will fail relatively gradefully by refusing to open more apps when it gets fill.  

Secondly, you will RARELY ever have this problem on a properly configured (i.e. enough REAL RAM) XP system unless you are really abusing things.  

Thirdly, if you are pressing the limits on the pagefile, the system performance degrades itself so much that the user will generally either shutdown applications or reboot to resolve the slowness.

I usually set this to let XP manage the settings unless I KNOW that the machine will be using lots of pagefile all the time.  Then I manually configure it to a large enough value.
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

>>>But I'm told that the user will be in 'big trouble' if XP ever needs more.

Not true. They would get messages warning them that the pagefile is too small. There usually isn't any big trouble just increase the pagefile. Experimentation some times is the best way to find out what works. If you want to insure less hassle then set it the size to be 3 times or more then the RAM
If you have 512MB or more, setting the swap file between 250MB to 300MB should be enough.  I have 1GB of RAM on my machine and I have the swap file set to this.

If you have less than 512MB of RAM I'd recommend that you set the minimum swap file value to 1.5 times your physical memory, and leave the default max.  If you have less than 512MB most certainly leave the default maximum value alone, because you may need that.  If you run out of physical memory and virtual memory, your computer can do nothing more than say "i can't work anymore" and crash.
I guess I didn't type fast enough!
>> I guess I didn't type fast enough!

That's for sure.  You know that I've written a program that has automatically pre-generated every possible answer to questions on EE.  So whenever a new question pops up, I just retrieve the right answer from my database and post it.  ;-)
Luc FrankenEMEA Server EngineerCommented:
You might want to take a look at http:Q_20746373.html

Luc FrankenEMEA Server EngineerCommented:
If you have a great amount of internal memmory (512MB+) you can add this line to system.ini

under the [386Enh] section add this line:

And see if it works for you.

I didn't think windows xp even used the system.ini and win.ini files.  I thought it was all stored in the registry.
Luc FrankenEMEA Server EngineerCommented:
It's not all stored in the registry (thank god, otherwise there was nothing to tweak anymore;-) )

>>> didn't think windows xp even used the system.ini and win.ini files

These files are only used when 16bit applications are in usre otherewise they are not proccessed.

But LucF reminded me of these settings

Memory Performance Tweak

These Settings will fine tune your systems memory

management -atleast 256MB of ram recccomended

go to start\run\regedit -and then to the following key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

1.DisablePagingExecutive -double click it and in the decimal put a 1 - this allows XP to keep data in memory now instead of paging sections of ram to harddrive yeilds faster performance.

2.LargeSystemCache- double click it and change the decimal to 1 -this allows XP Kernal to Run in memory improves system performance alot

3.create a new dword and name it IOPageLockLimit - double click it and set the value in hex - 4000 if you have 128MB of ram or set it to 10000 if you have 256MB set it to 40000 if you have more than 512MB of ram -this tweak will speed up your disckcache

Reboot and watch your system fly

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.