Tuesday 18 July 2017

How to calculate Windows 10 Virtual Memory / Pagefile

Memory (RAM) and Virtual Memory. All programs use RAM, but when there isn't enough RAM for the program you're trying to run, Windows temporarily moves information that would normally be stored in RAM to a file on your hard disk called a Paging File. The amount of information temporarily stored in a paging file is also referred to as virtual memory. Using virtual memory, in other words, moving information to and from the paging file, frees up enough RAM for programs to run correctly.

The more RAM your computer has, the faster your programs will generally run. If a lack of RAM is slowing your computer, you might be tempted to increase virtual memory to compensate. However, your computer can read data from RAM much more quickly than from a hard disk, so adding RAM is a better solution.

If you receive error messages that warn of low virtual memory, you need to either add more RAM or increase the size of your paging file so that you can run the program on your computer. Windows usually manages this automatically, but you can manually change the size of virtual memory if the default size isn't large enough for your needs.

How to calculate Windows 10 Virtual Memory / Pagefile
  1. Bring up the System page by either:
  1. Power user menu inside of Windows 10
  • Pressing the Windows logo key Windows logo key + Pause
  • Pressing the Windows logo key Windows logo key + X to bring up the Power User menu and press Y to select System
  • Right-clicking on the Windows logo Windows logo key on the Start menuto bring up the Power User menu and select System
  1. Make note of the installed memory (RAM)
  1. System page inside of Windows 10
  1. Click on the Advanced system settings link
  1. Click on the Advanced tab of the System Propertiesdialog box
  1. System Properties dialog box inside of Windows 10
  1. Click on the Settings ... button in the Performancesection
  1. Click on the Advanced tab of the Performance Optionsdialog box
  1. Performance Options dialog box inside of Windows 10
  1. Click on the Change ... button inside of the Virtual memory section
  1. Deselect the Automatically manage paging file size for all drives check box
  1. Virtual Memory dialog box inside of Windows 10
  1. Select Custom size and enter the initial size and maximum size using the calculation shown above
  1. Click on the Set button


There is a formula for calculating the correct pagefile size. Initial size is one and a half (1.5) x the amount of total system memory. Maximum size is three (3) x the initial size. So let's say you have 4 GB (1 GB = 1,024 MB x 4 = 4,096 MB) of memory. The initial size would be 1.5 x 4,096 = 6,144 MB and the maximum size would be 3 x 6,144 = 18,432 MB.
All the information and links you will need are going to be on the System page.

No comments:

Post a Comment