2

I have 2 GB of RAM on my computer and I noticed that Windows XP keeps on using the page file even with enough RAM available. This is really affecting the performance of the computer and making it way too slow.

Is there a way to make Windows XP only use the page file when there's no enough RAM available?

2

2 Answers 2

5

As @Tom Wijsman has mentioned, this is not particularily a good idea, but if you really want to...

Go to

Control Panel -> System -> Advanced

and click the Settings... button under the Performance group.

This will bring up this dialog box

Windows XP Virtual Memory dialog

Select the highlighted option and click OK

Note: This disables the page file. AFAIK there is no way to selectively enable/disable it, depending on memory usage. The closest thing would be to set a custom size to 0MB so Windows would expand it when it needs it

(screenshot source)

2
  • 1
    Proceed at your own risk. Don't be surprised if this has an adverse effect on system performance/stability... Commented Jan 18, 2012 at 5:52
  • Windows automatically uses it, or not, as necessary according to how much RAM is available. Leave it enabled. Commented Sep 15, 2014 at 10:20
3

Windows will use the page file to free up space for system cache and other applications. Even if you have "free" memory now, moving pages that are extremely rarely used, and possibly will never be used again (e.g. a page of start up code in an executable) allows more useful things to be put into that RAM.

This is really affecting the performance of the computer and making it way too slow.

It would be helpful to know how you are measuring this. Generally (when there is not an immediate lack of free pages) paging happens at low priority—any specific IO requirement (data or paging) will get precedence.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .