Step 1: Go to control panel and make sure the view by is set to
icons. Click on Performance Information and Tools.
Step 2: Click Adjust Visual Effects and choose the advanced tab and
click Change under Virtual Memory. Note the current total paging file.
Step 3: Note your current settings. Uncheck the Automatically Manage box and check the Custom size option. Set both the Initial size and Maximum size to twice the amount of physical memory, then click Set. For example this machine has 3GB(3000MB) so the page file should be set to 6000MB.