1. Go to Control Panel > System and Security > System.
3. Click on Settings under Performance.
4. Select Advanced tab and click Change under Virtual Memory.
5. Uncheck Automatically manage paging file size for all drives.
6. Select drive you want to adjust, usually the C drive.
7. Select Custom Size and enter a new value for initial size and maximum size.
8. Finally, click Set and then click OK.