Page File

What is the best Page File size for 64-bit versions of Windows 10?

What is the best Page File size for 64-bit versions of Windows 10?

64-bit versions of Windows and Windows Server support more physical memory (RAM) than 32-bit versions support. However, the reason to configure or increase page file size has not changed. It has always been about supporting a system crash dump, if it is necessary, or extending the system commit limit if it is needed.

For example, when a lot of physical memory is installed, a page file might not be required to back the system commit charge during peak usage. The available physical memory alone might be large enough to do this. However, a page file or a dedicated dump file might still be required to back a system crash dump.

Best Page File size for 64-bit versions of Windows 10

That brings up the question of how much pagefile.sys size should be allocated? For the regular users, it is best to leave the Page File size to its default value, by letting the Windows OS decide.

Most of the Windows PCs have started moving towards SSDs and NVMe, and they are costly. So let's take a look at the factors which can help you determine the appropriate size:

  1. Crash dump setting
  2. Peak system commit charge
  3. Quantity of infrequently accessed pages

Page File management is set to Automatic by Windows. It is located at C:\pagefile.sys and is a hidden file. If you want to configure it manually, then you can use this calculation. Also, to get this done, you should have a clear understanding of Pagefile and how it works with admin account privilege.

1] Crash dump setting

Below is the calculation Microsoft recommends to use the following calculations:

System crash dump settingMinimum page file size requirement
Small memory dump (256 KB)1 MB
Kernel memory dumpDepends on kernel virtual memory usage
Complete memory dump1 x RAM plus 257 MB*
Automatic memory dumpDepends on kernel virtual memory usage. For details, see the Automatic memory dump.

* 1 MB of header data and device drivers can total 256 MB of secondary crash dump data.

Windows keeps all dump files at %SystemRoot%\Minidump and manages them automatically. If you want to enable the dedicated, DedicatedDumpFile then you need to change a Registry entry.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl

You can also set size and other factors. You can read more about it on the official page.

2] Peak system commit charge

Commit charge describes the total amount of virtual memory guaranteed for all processes to fit in physical memory and the page file. When you say Peak, it is the highest amount that the total commit charge has reached since the operating system was last started.

3] Quantity of infrequently accessed pages+

Follow this method to find out the quantity of infrequently accessed pages+ for minimum and maximum page file size.

Minimum page file sizeMaximum page file size
Varies based on-page file usage history, amount of RAM (RAM ÷ 8, max 32 GB), and crash dump settings.3 × RAM or 4 GB, whichever is larger. This is then limited to the volume size ÷ 8. However, it can grow to within 1 GB of free space on the volume if required for crash dump settings.

Speaking of Page File, you might want to check out some of these links:

  1. How to clear the Windows Page File at Shutdown
  2. MemInfo - A Real-time Memory & Page file Usage Monitor
  3. How to defrag MFT, Page File, Registry, System Files.

I hope you were able to determine the appropriate page file size for 64-bit versions of Windows 10.

Battle for Wesnoth Tutorial
The Battle for Wesnoth is one of the most popular open source strategy games that you can play at this time. Not only has this game been in developmen...
0 A.D. Tutorial
Out of the many strategy games out there, 0 A.D. manages to stand out as a comprehensive title and a very deep, tactical game despite being open sourc...
Unity3D Tutorial
Introduction to Unity 3D Unity 3D is a powerful game development engine. It is cross platform that is it allows you to create games for mobile, web, d...