Page file size is not constant by default. Due to this, the operating system has to resize the file each time more space is required. This is a performance overhead. All you have to do is to set the file size to a reasonable limit.
Follow the steps:
1. Right-click My Computer, Select Properties
2. Click the Advanced tab
3. Click the Settings button under the Performance section
4. Click the Advanced tab
5. Under the Virtual Memory section click the Change button
6. "Virtual Memory" dialogue box will appear (also shown in the figure below)
7. Highlight the C: drive containing page file
8. Select the Custom Size radio button and give same values in Initial size and Maximum size fields:
If you have less than 512MB of memory, leave the page file at its default size. If you have 512MB or more, change the ratio to 1:1 page file size to physical memory size.
9. Click Set, then OK buttons to apply the changes