To save on Random Access Memory (RAM), Windows uses your Page File as a sort of cache. This can slow down your PC’s overall performance. To remedy this situation, Windows XP has an option that allows users to clear the Page File when you shut down Windows. While this tweak tends to lengthen the shutdown time, it does have its performance benefits.
To set the computer to clear the page file without directly editing the registry is:
1. Click on the Start button
2. Go to the Control Panel
3. Administrative Tools
4. Local Security Policy
5. Local Policies
6. Click on Security Options
7. Right hand menu - right click on “Shutdown: Clear Virtual Memory Pagefile”
8. Select “Enable”
9. Reboot
To clear the page file using the Windows Registry: