Skip to main content
RebootDoctor
Windows Performance

How to Increase Virtual Memory in Windows 11

By RebootDoctor Tech Team Fact-checked by Mike Chen on

Short answer: Press Win+R, type SystemPropertiesAdvanced, then go to Performance > Settings > Advanced > Change under Virtual memory. Untick Automatically manage paging file size for all drives, pick the drive, choose Custom size, enter an initial and maximum size in MB, then click Set before OK. Restart for the new file to be created. Use the Recommended value in that window as your floor rather than a 1.5x multiple of RAM.

Virtual memory is the paging file: a hidden system file Windows uses to hold data that doesn’t fit in RAM. You can change its size in about a minute — Win + R, type SystemPropertiesAdvanced, then Performance > Settings > Advanced > Change.

Whether you should change it is a different question, and most guides skip it. The advice found everywhere — initial size 1.5× your RAM, maximum 3× — is a rule of thumb from the Windows XP era. Microsoft’s current documentation doesn’t give a multiplier at all. It says page file sizing depends on two things, the crash dump setting and peak committed memory, and that it “can’t be generalized” between machines.

So the useful order is: read the three numbers the dialog already shows, check whether your machine is actually short of committed memory, and only then pick a size.

Where the setting lives

  1. Press Win + R, type SystemPropertiesAdvanced, press Enter.
  2. In the Performance section of the Advanced tab, click Settings.
  3. In Performance Options, open the Advanced tab.
  4. Under Virtual memory, click Change.
  5. Clear Automatically manage paging file size for all drives if you want to set your own values.
  6. Select the drive, choose Custom size, and enter Initial size and Maximum size in MB.
  7. Click Set, then OK on each window.
  8. Restart. The new file is created during the next boot.
Windows 11 Virtual Memory dialog with automatically manage paging file size ticked, drive C selected as system managed, and Minimum allowed 16 MB, Recommended 1275 MB, Currently allocated 1280 MB
The bottom of the dialog reports what Windows thinks, what the file is now, and the floor it enforces.

If you remember one thing from this page: click Set before OK. Choosing Custom size and closing the dialog without Set discards the numbers silently, and you end up back here wondering why nothing changed.

The three numbers in that dialog

At the bottom of the window, Windows lists Minimum allowed, Recommended and Currently allocated for the total across all drives. On the Windows 11 24H2 test machine behind the screenshot, with 3 GB of RAM, they read 16 MB, 1275 MB and 1280 MB.

  • Minimum allowed is the floor Windows enforces so the machine can still boot and write a small dump.
  • Recommended is what Windows thinks your page file should be, given your RAM and the crash dump setting. Treat it as the floor for anything you set by hand.
  • Currently allocated is what the file is right now — the only one of the three that describes the present.

Setting a maximum below the recommended value lowers your commit limit, the opposite of what most people open this dialog to do. It’s the single most common way this tweak makes a machine worse.

Why the 1.5× / 3× rule doesn’t come from Microsoft

The rule survives because it’s easy to repeat and hard to check. What Microsoft actually documents about the default, system-managed page file:

  • Windows sizes it from page file usage history, the amount of RAM (RAM ÷ 8, up to 32 GB) and the crash dump settings.
  • It can grow to 3 × RAM or 4 GB, whichever is larger, capped at one-eighth of the volume size.
  • It grows when the commit charge reaches 90% of the commit limit, and that limit is RAM plus all page files combined.

In other words, leaving it on system-managed already gives you an adaptive file that expands under pressure. Replacing that with a fixed 1.5×/3× pair substitutes a guess, usually a smaller one, for something that reacts.

There is one real reason to overrule Windows: crash dumps. A page file or a dedicated dump file has to be big enough to back the dump type you selected, or Windows can’t write Memory.dmp after a blue screen. A complete memory dump needs roughly RAM + 257 MB. The default, Automatic memory dump, starts small and then sizes itself to RAM or 32 GB (whichever is smaller) if the machine crashes a second time within four weeks — a detail worth knowing if you have ever gone looking for a dump and found nothing. The dump setting itself is changed in System failure and recovery options.

Do you actually need more?

Open Task Manager, Performance > Memory, and read Committed — written as in use / limit, for example 6.8/37.7 GB. The second number is the commit limit, the first is what’s currently promised to running programs. If the first sits nowhere near the second, adding virtual memory changes nothing except disk usage.

Two more signals, ten seconds each:

  • Resource Monitor > Memory shows Hard Faults/sec. Sustained high numbers while the disk is also busy means the machine is genuinely paging.
  • In Performance Monitor, \Paging File(*)\% Usage at 100 does not mean a problem. Microsoft states this directly: full page file usage is fine as long as the commit limit isn’t reached and little memory is waiting to be written to disk.

The honest ordering is: committed memory close to the limit, then find out what’s using it, then decide about the page file. If a single process is holding 8 GB and growing, a bigger page file buys time and hides a memory leak. It doesn’t fix it. Our guide to Windows 11 memory leaks covers catching that process.

What happens if you set it too small, or to none

Two things, both predictable from the numbers above.

The commit limit drops. Windows won’t hand out more committed memory than RAM plus page files, so programs that ask for a big block fail earlier with “Your system is low on virtual memory” or simply close. Games and video editors are the usual victims, because they commit large buffers up front.

Crash dumps stop working. With No paging file selected, Windows has nowhere to put the dump unless you configured a dedicated dump file. Blue screens become anonymous, which is the worst possible time to lose them if the machine is unstable and you’re trying to find out why.

Neither failure is dramatic — no data loss, no reinstall — and both are fixed by returning to System managed size. Worth knowing before you spend an evening on it.

If you do want to set a size

Some situations justify a fixed size: you’re short on SSD space and want a ceiling, you’re chasing a specific dump configuration, or a vendor’s software insists on a minimum. In that case:

  1. Read Recommended and use it, or slightly more, as the Initial size. Don’t go below it.
  2. For Maximum size, initial plus a few GB is enough for normal use. If you want complete crash dumps, set it to at least your RAM plus 257 MB.
  3. Keep it on the drive Windows is installed on unless that drive is nearly full. A page file on a full volume can’t grow, which puts you back at a low commit limit.
  4. Restart, then check that Currently allocated matches what you set. If it doesn’t, the volume didn’t have the space.

A fixed size avoids the file growing and shrinking over time, which is why some older guides still recommend it. The cost is that it can’t adapt when you open twenty browser tabs, and on a modern SSD the fragmentation argument that made fixed sizes popular barely matters.

Does it wear out an SSD?

Not in any way you’d notice. The concern dates from the era of small, expensive SSDs: every page written to the file is a write to the drive. A modern drive rated for hundreds of terabytes of writes will outlive the laptop, and paging is light on a machine with enough RAM because the file mostly sits idle. What still holds is different advice — don’t put the page file on a USB stick or a failing drive, and don’t disable it thinking you’re saving the SSD. You’re saving nothing and losing crash dumps.

If Windows still reports low memory after that

Then the page file was never the constraint. The remaining possibilities are a process that keeps allocating, too little RAM for what you run, or a driver leaking memory in kernel space, and telling those apart needs a few minutes with commit charge per process, pool usage and the event log rather than one dialog. Our guide to checking installed RAM covers the first pass, and startup programs are worth a look if the memory pressure builds up right after login.

If the machine slows down over hours rather than during heavy work, that points at a leak rather than capacity, and the memory leak guide walks through confirming it. When the numbers look normal but the PC still freezes or restarts, the useful evidence is in the System log and in dump files that many machines never collect, because the page file was set too small to keep one — a slightly ironic place to end up.

FAQ

What is the best virtual memory size for 8 GB of RAM? Leave it on System managed size and let Windows pick. If you want a number, use the Recommended value in the dialog rather than a multiplier — on an 8 GB machine it lands close to your RAM size, and anything smaller lowers your commit limit.

Should I set virtual memory higher than my RAM? Only if you need complete crash dumps (RAM + 257 MB) or you’ve measured that committed memory regularly reaches the limit. For everyday use a page file larger than RAM does nothing except occupy disk space.

Does increasing virtual memory make a slow PC faster? Not by itself. It raises the ceiling on how much memory programs can commit. If the machine is slow with committed memory well below the limit, the cause is elsewhere — check startup apps, disk health and CPU usage instead.

Can I disable the paging file if I have 32 GB of RAM? You can, and Windows will run, but you lose crash dumps and some applications still reserve committed memory up front and will fail without a page file. Microsoft’s guidance is to keep one, or configure a dedicated dump file if you really want the space back.

Why did Windows change my custom size back to system managed? Usually because the file couldn’t be created at the size you asked for — not enough free space on the volume, or a maximum below the minimum Windows requires. Check Currently allocated after the restart; if it shows the system-managed value, resize again with a smaller maximum or free up space first.

Frequently Asked Questions

What is the best virtual memory size for 8 GB of RAM?

Leave it on System managed size and let Windows pick. If you want a number, use the Recommended value shown in the dialog rather than a multiplier — on an 8 GB machine it lands close to your RAM size, and anything below it lowers your commit limit.

Should I set virtual memory higher than my RAM?

Only if you need complete crash dumps, which takes RAM plus 257 MB, or you have measured that committed memory regularly reaches the commit limit. For everyday use a page file larger than RAM does nothing except occupy disk space.

Does increasing virtual memory make a slow PC faster?

Not by itself. It raises the ceiling on how much memory programs can commit. If the machine is slow while committed memory sits well below the limit, the cause is elsewhere: startup apps, disk health or CPU usage.

Can I disable the paging file if I have 32 GB of RAM?

Windows will run, but you lose crash dumps, and some applications still reserve committed memory up front and fail without a page file. Microsoft's guidance is to keep one, or configure a dedicated dump file if you want the space back.

Why did Windows change my custom size back to system managed?

Usually because the file could not be created at the size you asked for: not enough free space on the volume, or a maximum below the minimum Windows requires. Check Currently allocated after the restart and try a smaller maximum.

Need Expert Help?

If these steps didn't fix your issue, our technicians can diagnose and fix it remotely while you watch.