Decrease Virtual Memory Windows 11

Decrease Virtual Memory Windows 11

Reduce virtual memory in Windows 11 only if you have plenty of RAM, your Commit usage stays well below the current limit, and you leave about 1–2 GB of pagefile on the system drive. Keep the page file enabled. Set it too low and apps can crash, hibernation and crash dumps can fail, and Windows may slow down under memory pressure. This guide shows when a smaller pagefile is safe, how to check memory pressure first, and how to roll back fast if problems appear.

What virtual memory does in Windows 11

Virtual memory is Windows’ fallback memory on storage, and in Windows 11 it uses the pagefile.sys file on a drive. System-managed size is the default because Windows can adjust it as workload changes, which is safer than turning it off for most users.

When RAM runs short, Windows shifts some memory pressure to the page file instead of forcing programs to fail immediately. That does not mean a smaller page file is faster. It means Windows has a backup path when apps, browser tabs, or background services need more committed memory than installed RAM can cover.

What changes when disk space is tight

On a small SSD, the page file competes with apps, updates, temporary files, and recovery data for the same free space. If the drive is nearly full, reducing virtual memory may help free room, but only if the machine still has enough RAM headroom to avoid low-memory warnings.

A system-managed page file can grow and shrink as needed. A custom size gives you more control, but it also removes some of that automatic protection. That is why the decision should start with RAM capacity and free disk space, not with a guess about speed.

When should you reduce virtual memory?

Reduce virtual memory only when the system has enough installed RAM, memory pressure is mild, and storage space matters more than extra paging headroom. High-RAM PCs can often tolerate smaller settings. Low-RAM PCs usually should not be trimmed because the margin for app spikes is already thin.

Key points: When should you reduce virtual memory?

When a smaller setting can make sense

A 16 GB or 32 GB PC with low, steady Commit usage and a cramped system drive is the best candidate for a careful reduction. In that case, the goal is to reclaim some disk space while still keeping enough paging capacity for brief spikes and crash recovery.

Suppose a Windows 11 laptop has 32 GB of RAM and only 18 GB free on a 256 GB SSD. If the machine mainly handles email, office apps, and a browser, a conservative reduction can be reasonable. The same change on an 8 GB PC is far riskier because Windows has much less room to absorb a memory burst.

When you should not change it

Do not reduce the page file if the PC has low RAM, if memory use regularly climbs near the current limit, or if you depend on full memory dumps for troubleshooting. Keep it enabled. That can cause low-memory warnings, unstable apps, and failed crash dumps.

A common first-timer mistake is shrinking the page file because Task Manager shows a short spike at 90% or 99% Memory. That spike alone is not a reason to cut paging space. The safer question is whether the system still has headroom after busy app sessions, updates, and restarts.

Virtual memory decision table

Use this table as a storage-and-stability check, not as a speed tweak. The aim is to keep Windows usable, preserve enough room for updates, and avoid a page file that is so small it becomes the first thing to fail under pressure.

RAM sizeFree disk space on system driveRecommended outcomeWhy this choice fits
8 GB or lessAny amount that is already tightKeep system-managed sizeLow-RAM PCs need more headroom, and Windows may need the page file during spikes, crash handling, or app pressure.
8 GB or lessLots of free spaceKeep system-managed sizeExtra disk space does not remove the need for fallback memory. The safer move is to leave Windows in charge.
16 GBLess than 20 GB freeReduce conservativelyIf memory use is modest and stable, a smaller custom size may free space without cutting off all backup memory.
16 GBAt least 20 GB freeKeep system-managed sizeThere is usually no need to trade away automatic sizing unless you have a clear storage problem to solve.
32 GB or moreLess than 20 GB freeReduce conservativelyHigh-RAM systems can often tolerate smaller settings if Commit usage stays well below the limit and the drive is cramped.
32 GB or morePlenty of free spaceAvoid changing itThere is little upside to risking app instability when storage is not under pressure.

Rollback checklist:

  • Restore the page file to System managed size.
  • Restart Windows after the change.
  • Watch for low-memory warnings, app crashes, or new hangs.
  • Check whether crash dumps still create correctly after a failure.
  • Leave the change in place only if the system stays stable for normal work.

How do you change virtual memory in Windows 11?

Open the page file settings through Performance Options in Advanced system settings. On Windows 11, that path opens the Virtual memory box, where you can keep the default system-managed sizing or switch to a custom size. Restart Windows after you save the setting; the new page file size takes effect after reboot.

  1. Open advanced system settings.

    Search for View advanced system settings or open System Properties, then choose the Advanced tab. Under Performance, select Settings to reach Performance Options.

  2. Open Virtual memory.

    In Performance Options, choose the Advanced tab again and select Change under Virtual memory. This is the Windows 11 page file settings path.

  3. Inspect the current drive.

    Check which drive hosts pagefile.sys and how much free space remains. The system drive is usually the safest place to leave at least one page file enabled.

  4. Choose the size mode.

    Keep System managed size if you are unsure. If you are reducing it, clear automatic management and set a custom initial size and maximum size with care.

  5. Apply and restart.

    Confirm the dialog boxes, then restart Windows. The new virtual memory configuration does not fully take effect until after reboot.

What settings are safest after you reduce it?

If you reduce virtual memory, keep the custom values conservative and leave drive headroom. The initial size and maximum size should be close enough to avoid wild swings, but not so small that Windows runs out of backup space during a busy session. Restarting is required so the new setting replaces the old one.

Key points: What settings are safest after you reduce it?

How to choose conservative custom sizes

Use a smaller custom size only when you have a reason to do it, and keep the reduction modest. The safest pattern is to leave enough room for ordinary spikes, crash handling, and updates. If the drive is nearly full, the page file should not be squeezed to the point that Windows has no fallback memory left.

For many users, that means avoiding aggressive cuts. A custom page file should be a careful adjustment, not a zero-buffer experiment. If you are not sure whether the current limit is already enough, the safer choice is to keep system-managed size.

Why you should keep drive headroom

Windows shares the system drive with app installs, Windows updates, temp files, and the page file itself. If free space drops too low, the operating system has less room to manage memory pressure and less room to grow the page file if the workload suddenly changes.

One practical target is to leave several gigabytes free after the change, not just before it. That protects updates and reduces the chance that a smaller page file turns into a second storage problem.

Why a restart matters

Windows uses the reboot to release the old page file configuration and build the new one. Without a restart, you may be looking at stale behavior and drawing the wrong conclusion about whether the new size works.

After the reboot, open Task Manager and watch the Memory column during normal use. The competitor page uses 70%, 80%, 90%, and 99% as markers for high memory usage, and those numbers are most useful as signs of pressure, not as a reason to shrink the page file further.

What warning signs mean the page file is too small?

If the page file is too small, Windows can start warning about low memory, apps may become unstable, and some programs can crash or hang under load. The problem often appears after a restart, during updates, or when several heavy apps open together.

Low-memory warnings and slow app behavior

Watch for pop-ups about low memory, browser tabs reloading unexpectedly, or apps taking longer to switch and respond when multiple programs are open. Those signs mean the system is running out of safe memory headroom and is leaning too hard on the reduced page file.

Say a PC with 16 GB of RAM is trimmed to a very small custom page file and then starts showing low-memory messages while a browser and photo editor are open together. That is a strong sign the setting is too tight, even if the machine felt fine at idle.

Crashes, hangs, and dump-file problems

Too little virtual memory can make some programs crash when memory spikes, and it can interfere with crash dump creation after a system failure. That matters if you need diagnostics later, because a failed dump can hide the clue you need to fix the real issue.

Disabling the page file is the worst version of that mistake. It removes the safety net entirely, which increases the risk of instability and makes recovery harder when an app or driver misbehaves.

When to roll the setting back

Roll the setting back if the machine becomes less stable, low-memory alerts start appearing, or the page file change is followed by worse app behavior. Restore system-managed size first. If the problem disappears after a restart, the reduction was too aggressive for that workload.

  1. Open Virtual memory again.

    Return to Performance Options, then open the Virtual memory dialog through Advanced system settings.

  2. Restore automatic sizing.

    Select System managed size for the system drive. This returns control to Windows and is the safest rollback after trouble appears.

  3. Restart Windows.

    Reboot to load the restored configuration. Then recheck whether the low-memory warnings and crashes stop.

Keep reading

Frequently asked questions

Should I disable virtual memory windows 11?

No. Disabling virtual memory removes Windows’ fallback memory on storage and can trigger low-memory warnings, app crashes, and trouble with crash dumps. If the goal is to save disk space, a small conservative reduction is safer than turning the page file off completely.

Windows 11 best virtual memory settings

The best setting for most PCs is System managed size. That keeps Windows free to adjust the page file when workload changes. A custom size is only worth considering when you have a clear storage constraint and enough RAM to tolerate a smaller backup buffer.

Similar Posts