Windows 10 Huge windows PageFile, how to limited it

  1. Open the System Properties dialog (right-click Start, System, select Advanced system settings on the right).

enter image description here

  1. On the Advanced tab, click Settings under the performance section

enter image description here

  1. On the Advanced tab of Performance Options click Change under the Virtual memory section

enter image description here

  1. Disable Automatically manage paging file size for all drives
  2. Use the Custom size radio button to open up the Initial size and Maximum size fields

enter image description here

  1. Specify your values, taking heed of the Recommended value at the bottom of the dialog, click set and close the dialog boxes.

If you have additional drives, you can also specify a different disk for the pagefile. This is preferable when you have an SSD as your boot drive, as paging to file frequently can reduce the life of an SSD.


Attention: The pagefile is required for Windows full functionality.

For example, in case of a crash (BSOD), Windows will keep the crash dump in the pagefile until the computer is restarted. A too small pagefile will effectively mean disabling crash dumps.

As another example, the system commit limit is the sum of physical memory (RAM) and all page files combined. This limit is the maximal memory amount that can be allocated to Windows and all tasks. If the pagefile is too small, tasks won't be able to ask for much more memory than the available RAM.

Your pagefile is currently being managed by Windows, so it will increase in size according to the needs of the running processes. Its large size might mean that your workload requires more memory than is physically available.

I recommend reading the Microsoft article of
How to determine the appropriate page file size for 64-bit versions of Windows.

Before reducing the pagefile too much, you may also:

  • Add more RAM, or
  • Allocate page file space on another disk than C:.

The total page files space on all disks that I recommend is RAM plus 257 MB, enough for a complete crash dump. Although many recommendations say rather 1.5 times the RAM, I believe that if the RAM is large (as available on modern computers), the above amount should be enough.