What is a Paging File ?
When your RAM fills up in Windows / Unix system, Page file acts as a backup storage for the extra stuff that may be moved from RAM to the Page file and retrieved when needed.
So basically in Windows 7, when your RAM fills up a image of selective processes / data stored in RAM are transferred to Page File for future retrieval. This can help in situations where a demanding App shows up eating up the RAM and crash can be avoided.
How to create / set paging file?
In most Windows systems including Windows 7, the paging file size can be set as per user’s necessity. Step by step guide to set paging file size:
- Go to My Computer
- Right Click >> Properties in My Computer window
- Select Advanced System Settings from left pane
- Select Advanced tab
- Go to Performance >> Settings
- Go to Advanced
- Virtual Memory block will be seem. Click Change and set the paging file size.
If you had any difficulty following the flow, take a look at the video tutorial above and follow the instructions.
Things to consider before setting page file size in Windows / Unix :
- Take a look at the amount of RAM that is being used up on an average. If the amount is less than 50% of the total size, you might as well keep the size of paging file as default. Take a look here: https://www.youtube.com/watch?v=HTWIxpG-Fmk&feature=youtu.be
To know how much of your RAM is being used, you can use Windows Task manager.
- Some Linux and Windows systems use page file for storing hibernate data. So if you are a Windows 7 user, paging file can be handy.
- The size of page file should be kept less than double the size of RAM. So if the size of your RAM is 2 GB page file size should be optimally kept lesser than 4 GB at max. Any size higher than this will be unnecessary.