Windows Page File Size Calculator
That old rule of 1.5 times your RAM was written for 32-bit Windows. Microsoft now sizes the page file from two things: your crash dump setting and the most memory your PC ever asks for.
Enter yours below. You'll see whether to leave it to Windows, plus the exact sizes in MB if you'd rather set it yourself.
Your PC
Find it in Settings > System > About, next to Installed RAM.
Not sure? Leave Automatic, the Windows default.
For the drive that holds the page file, usually C:. This PC in File Explorer shows both.
Press Ctrl+Shift+Esc, then open Performance and Memory. With your heaviest apps running, type the first number under Committed. Our free RAM Optimizer shows it too.
System managed. Custom: 6,144 MB to 49,152 MB.
See sizesYour Page File
Leave it on System managed size
Windows grows and shrinks the file as you need it. Use the sizes below only if you want to set it yourself.
Want to set it yourself? Type these in the Virtual Memory box.
Initial size
6,144 MB
Big enough to hold an Automatic memory dump, which holds the same data as a kernel dump. Rounded up to a whole GB.
Maximum size
49,152 MB
Matches the most Windows grows its own managed file: 3 × RAM or 4 GB, whichever is larger.
- Commit limit at the initial size
- 22 GB
- Largest size Windows would pick
- 48 GB
- Space your crash dump needs
- About 5,462 MB
- On System managed, Windows keeps the file small for Automatic dumps. If a crash finds it too small, Windows grows it to 16 GB for four weeks.
- Add your highest Committed figure for sizes based on your own peak, not just your RAM.
Don't switch the page file off, even with lots of RAM. Here's what turning it off breaks.
How to Change It in Windows 10 and 11
- Press Windows + R, type sysdm.cpl and press Enter.
- On the Advanced tab, select Settings under Performance.
- Open the Advanced tab in the new window and select Change under Virtual memory.
- To let Windows manage it, check Automatically manage paging file size for all drives. To set your own, uncheck it, pick the drive, choose Custom size and type the Initial and Maximum sizes in MB.
- Select Set, then OK, and restart when Windows asks.
How the Sizes Are Worked Out
Microsoft says no single size fits every PC, so each number comes from your own inputs. Your peak is the highest Committed figure you've seen in Task Manager.
| Size | How it's picked |
|---|---|
| Initial | The largest of three: what your crash dump needs, how far your peak runs past your RAM divided by 0.75 (or 0.5 for creative work and virtual machines), and RAM ÷ 8 up to 32 GB |
| Maximum | 3 × RAM or 4 GB, whichever is larger, limited to 1/8 of the drive and half your free space |
The 0.75 and 0.5 come from Microsoft's virtual memory guide. It says a page file should be no more than 50 to 75% used, depending on how much your workload swings.
The RAM ÷ 8 figure and the maximum match the limits of a system-managed file. Windows grows that file once Committed reaches 90% of the limit.
Running Hyper-V? Microsoft says the host's page file should stay System managed.
Crash Dump Settings and the Space They Need
| Setting | Page file it needs |
|---|---|
| Small memory dump | At least 2 MB on the Windows drive |
| Kernel memory dump | Room for kernel memory, typically about a third of your RAM |
| Automatic memory dump | Small at first, then your RAM or 32 GB, whichever is smaller, after a crash |
| Complete memory dump | All of your RAM plus 257 MB |
Automatic is the default, and it saves the same data as a kernel dump. If the page file is too small for your setting, Windows won't save a crash file at all.
To check yours, open the same Advanced tab and select Settings under Startup and Recovery.
Why You Shouldn't Turn It Off
With no page file, your commit limit drops to slightly less than your RAM. Once Committed reaches that limit, Microsoft says your PC can freeze or crash.
You also lose blue screen records, since Windows writes them through the page file. If you still want it off, Microsoft recommends a dedicated dump file so crashes still leave a record.
Reading Committed in Task Manager
Task Manager shows Committed as two numbers, such as 12.3/37.7 GB. The first is the memory apps have been promised right now. The second is the commit limit: your RAM plus the page file.
The first number can pass your RAM without a problem. Microsoft says the real sign of trouble is Windows writing memory out to disk most of the time.
A page file that's 100% used isn't a problem either, as long as Committed stays under the limit. When Committed keeps running far past your RAM and the PC slows down, adding RAM is what helps, not a bigger file.
Where the 1.5 Times RAM Rule Came From
That rule lives on in Microsoft's guide for 32-bit Windows. Even there, it was only a starting point for when you have nothing else to go on.
On a 32 GB PC, it sets aside 48 GB of drive space for a file that may never fill. A system-managed file starts far smaller and grows only when needed.
Which Drive Should Hold It
Keep it on your fastest drive, usually the SSD Windows runs from. With more than one page file, Windows uses the one that responds first, so the faster drive does most of the work.
The file holds less than most people think. Programs and saved files stay where they are on disk, and only changed data with no other home, like unsaved text, goes into the page file.