The dreaded ‘Your computer is low on memory’ warning usually arrives at the worst moment — mid-project, with a dozen browser tabs open and no time for a reboot. Windows 10 handles memory pressure with virtual memory: a slice of your disk that acts as overflow for RAM. When it’s configured too small, programs crash, tabs die, and the whole system stutters.
Increasing virtual memory (the page file) is a legitimate, free fix — but it’s widely misunderstood. It does not make your PC faster the way more RAM does; it gives Windows more room to juggle when RAM runs out, trading disk space for stability. Done wrong — a page file on a nearly full drive, or absurd manual sizes — it can actually make performance worse.
This guide walks you through checking whether virtual memory is really your problem, setting the right size, and knowing when the honest answer is a RAM upgrade instead. If your disk is the bottleneck rather than memory, our guide on fixing 100% disk active time covers that side of the problem.
Why this happens
- Too little RAM for the workload — 8 GB of RAM with Chrome, Teams, and a photo editor open will exhaust physical memory fast. Virtual memory is the safety net, and the default automatic size sometimes lags behind sudden demand.
- Page file set to a tiny custom size — Old tweaking guides recommended small fixed page files. On modern Windows 10 with memory-hungry apps, a 2 GB fixed page file is a crash waiting to happen.
- Page file on a nearly full drive — The page file needs contiguous free space to work efficiently. On a C: drive with under 10% free, Windows may fail to grow the page file when it needs to, producing out-of-memory errors despite the setting.
- Memory leaks in buggy drivers or apps — A driver or program that slowly consumes RAM without releasing it will eventually exhaust both RAM and page file. No page file size survives a real leak — the fix is updating or removing the culprit.
- Hibernation file competing for space — On laptops, hiberfil.sys can consume RAM-sized chunks of the C: drive, leaving less room for the page file to grow. Disabling hibernation (if you never use it) frees that space.
- SSD vs HDD page file performance — Paging to a mechanical hard drive is painfully slow; paging to an SSD is merely slow. Where the page file lives matters almost as much as how big it is.
How to fix it
Work through these in order — diagnose first, then act.
Fix 1: Confirm memory pressure with Task Manager
Don’t change the page file on a hunch. Verify that memory — not CPU or disk — is the constraint.
- Press Ctrl + Shift + Esc, open the Performance tab, and click Memory.
- Use the PC normally for 15 minutes, then check the In use figure and the Committed value.
- If Committed regularly exceeds physical RAM and In use sits above 85%, you have genuine memory pressure — proceed.
- If memory looks fine but the disk is pegged, see fixing 100% disk active time instead.
Fix 2: Open the virtual memory settings
The page file settings live in the old System Properties dialog — here’s the direct route.
- Press Win + R, type
sysdm.cpl, and press Enter. - Go to the Advanced tab and click Settings under Performance.
- In Performance Options, open the Advanced tab and click Change under Virtual memory.
- Note the current settings before changing anything — screenshot them in case you need to revert.
Fix 3: Set a sensible custom page file size
This is the core fix. Use the 1.5x/3x rule unless you have a specific reason not to.
- Uncheck Automatically manage paging file size for all drives.
- Select your C: drive, choose Custom size.
- Set Initial size (MB) to 1.5 × your RAM in MB (8 GB RAM → 12288; 16 GB → 24576).
- Set Maximum size (MB) to 3 × your RAM in MB (8 GB → 24576; 16 GB → 49152).
- Click Set, then OK, and restart when prompted — the change takes effect on reboot.
Fix 4: Move the page file to a faster or roomier drive
If C: is cramped but you have a second drive with space, the page file can live there.
- In the same Virtual memory dialog, select C:, choose No paging file, and click Set.
- Select the other drive, choose System managed size or a custom size, and click Set.
- Keep a small (800 MB–2 GB) page file on C: as well — Windows needs one there for crash dumps.
- Restart. Never put the page file on a USB flash drive or SD card; they’re too slow and wear out.
Fix 5: Free C: drive space so the page file can breathe
A page file can’t grow on a full disk. Reclaim space before blaming the setting.
- Run Settings > System > Storage > Temporary files and delete everything checked.
- Uninstall large programs you don’t use via Settings > Apps.
- Aim for at least 20 GB free on C: after cleanup — the page file maximum plus headroom.
Fix 6: Rule out a memory leak
If memory usage climbs steadily even when you’re doing nothing, a bigger page file just delays the crash.
- In Task Manager’s Processes tab, sort by Memory and watch for a process whose usage grows unbounded over an hour.
- Common culprits: outdated printer drivers, RGB control software, and browser extensions.
- Update or uninstall the offender; check the manufacturer’s support page for fixed drivers — for example Dell’s support site or HP’s for your model.
- If a driver is the leaker, Intel’s driver assistant can update Intel chipset and graphics drivers automatically.
Fix 7: Know when to buy RAM instead
Virtual memory is a crutch, not a cure. If Task Manager shows constant memory pressure even after these fixes, price a RAM upgrade.
- Check your laptop’s manual or the manufacturer’s specs for maximum RAM and slot count.
- Most Windows 10 laptops accept DDR4 SODIMMs; a jump from 8 GB to 16 GB typically costs less than a dinner out.
- After upgrading, you can usually return the page file to Automatically manage — Windows will size it appropriately. More RAM also speeds up slow app launches across the board.
Closing
Increasing virtual memory is a ten-minute job that stops out-of-memory crashes and smooths over RAM shortages — just remember it’s buying stability, not speed. If you followed Fix 6 and found a leak, or Fix 7 and ordered RAM, you’ve fixed the actual problem rather than masking it.
