Skip to content

How-ToRAM

How to Change Virtual Memory (Page File) Size in Windows 11

What the Windows 11 page file does according to Microsoft, why system-managed size is usually best, how to change or move it in Virtual memory settings, and how to tell from Task Manager's commit figures whether you need more RAM.

By , Systems & Technical Editor

3 min read

How to Change Virtual Memory (Page File) Size in Windows 11

Windows 11 uses a page file, sometimes called virtual memory, on your SSD alongside your RAM. Advice online often says to disable it or set a fixed size for more speed. Microsoft's own documentation is more cautious. This guide explains what the page file does, when it's worth changing, and how to do it.

What the page file does

Microsoft describes the page file as an optional, hidden system file on a disk. It lets Windows move infrequently used, modified data out of RAM, so that physical memory is free for things you're using right now. It also has two less obvious jobs:

  • It sets your commit limit. Microsoft explains that the system commit limit is the sum of your RAM and all page files. If programs try to commit more memory than that, Microsoft warns, you can see freezing, crashes and other malfunctions.

  • It supports crash dumps. A page file (or a dedicated dump file) must be large enough to save a crash dump when Windows hits a blue screen. Without one, the dump isn't written. If you're diagnosing crashes, see our WinDbg minidump guide.

Why "System managed" is usually best

By default, Windows manages the page file size for you. Microsoft says system-managed page files grow when the commit charge passes 90% of the commit limit, up to three times your RAM or 4GB, whichever is larger, and limited to an eighth of the drive's size. Microsoft also says page file sizing is unique to each system and can't be generalised. So unless you have a specific reason, leave it on automatic.

Reasons to change it include a small system drive that's nearly full (you can move the page file to another drive), or software whose documentation asks for a page file: Microsoft notes some products and services require one. Even with lots of RAM, Microsoft notes that a page file may still be needed to back a crash dump, so disabling it entirely isn't recommended.

How to change the page file size

  1. Search Start for View advanced system settings and open it.

  2. On the Advanced tab, under Performance, select Settings.

  3. Open the Advanced tab and, under Virtual memory, select Change.

  4. Untick Automatically manage paging file size for all drives.

  5. Select a drive, then choose System managed size, Custom size (enter an initial and maximum size in MB) or No paging file.

  6. Select Set, then OK, and restart your PC.

To undo any change, return to the same window and tick Automatically manage paging file size for all drives again.

How to check whether you need more RAM instead

Open Task Manager, select Performance and then Memory, and look at Committed: Microsoft says the commit charge and commit limit can be read on the Performance tab. If your committed figure regularly approaches the limit during normal use, more RAM is a better fix than a bigger page file. See how much RAM you need for gaming and how to install RAM.

Our verdict

For most Windows 11 PCs, leave virtual memory set to "Automatically manage paging file size". Microsoft says page file needs are unique to each system, and the page file both extends your commit limit and makes crash dumps possible. Change it only for a clear reason, such as moving it off a nearly full drive, and if you're regularly near the commit limit, add RAM instead.

The bottom line

For most Windows 11 PCs, leave virtual memory set to "Automatically manage paging file size". Microsoft says page file needs are unique to each system, and the page file both extends your commit limit and makes crash dumps possible. Change it only for a clear reason, such as moving it off a nearly full drive, and if you're regularly near the commit limit, add RAM instead.

Sources

  1. 01Microsoft Learn, Introduction to page files
  2. 02Microsoft Learn, How to determine the appropriate page file size for 64-bit versions of Windows

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

Best DDR5-6400 RAM Kit in 2026: CL28 to CL32 Picks Compared

Best Picks

Best DDR5-6400 RAM Kit in 2026: CL28 to CL32 Picks Compared

The DDR5-6400 kits to shortlist on maker specs: Klevv Cras V RGB Prime CL28 for the lowest latency, T-Force Delta RGB CL30, CL32 kits from Crucial, Kingston and G.Skill, 64GB and 96GB options, and a Crucial CUDIMM kit for Intel Core Ultra.

Hannah Vance2 min

How to Change Display Scaling in Windows 11 (and Fix Blurry Apps)

How-To

How to Change Display Scaling in Windows 11 (and Fix Blurry Apps)

How to change display scaling in Windows 11: set Scale per monitor in Settings > System > Display, change text size only, use custom scaling with care, and why older apps look blurry at high DPI, according to Microsoft's documentation.

Marcus Thorne3 min

How to Calculate RAM True Latency (and Compare DDR5 Kits Properly)

How-To

How to Calculate RAM True Latency (and Compare DDR5 Kits Properly)

How to work out RAM true latency in nanoseconds: multiply CAS latency by 2,000 and divide by the data rate. DDR5-6000 CL30 and DDR5-6400 CL32 both work out at 10ns, and Crucial's guidance favours the faster kit when latency is similar.

Marcus Thorne2 min