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?

tech
  • 21

2 Answers2

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)

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.

Richard
  • 9,172