How to Increase Virtual Memory (Page File) in Windows 11
•
My Technician
Windows 11PerformanceSystemOptimization
The Problem
Windows warns that your system is low on memory, apps crash with out-of-memory errors, or the page file is disabled after a “optimization” tweak. Virtual memory lets Windows spill RAM to disk—but a missing or tiny page file makes heavy apps unstable.
RAM always at 90%+? Fix leaks first with high RAM usage before relying on disk as RAM.
Symptoms
- Your system is low on memory toast during photo/video editing or many Chrome tabs.
- Crash dumps or games exit with memory errors despite free disk space.
- Someone disabled paging to “speed up SSD”—stability suffers.
The Fix: Step-by-Step
Step 1: Check Physical RAM and Real Usage
- Ctrl + Shift + Esc → Performance → Memory—note In use and total Installed.
- Settings → System → About → confirm installed RAM matches what you expect.
- If you are below 8 GB for modern Windows, plan a hardware upgrade with check and upgrade RAM.
Step 2: Open Virtual Memory Settings
- Press Win + R → type
sysdm.cpl→ Enter. - Advanced tab → Performance → Settings → Advanced → Virtual memory → Change.
Step 3: Set a Custom Page File (Recommended)
- Uncheck Automatically manage paging file size for all drives (only if you need a custom size).
- Select the fastest drive (usually C: on an SSD)—avoid slow USB drives for paging.
- Choose Custom size:
- Initial size (MB): at least 1.5 × RAM (e.g. 24576 for 16 GB RAM).
- Maximum size (MB): 3 × RAM or leave Windows automatic if unsure.
- Click Set → OK → reboot when prompted.
Step 4: Let Windows Manage (Often Best on SSDs)
- If you are unsure, re-check Automatically manage paging file size for all drives—Windows 11 usually sizes well on SSDs.
- Ensure No paging file is not selected on all drives unless you are an expert running fixed workloads with enough RAM.
Step 5: Free Disk Space for the Page File
- The page file needs contiguous free space—if C: is full, paging fails.
- Follow free up disk space when C: is full.
- Slow disk thrashing? Also see 100% disk usage and slow SSD speeds.
Step 6: When Virtual Memory Is Not Enough
- Close memory-heavy startup apps (disable startup programs).
- Add RAM if you routinely exceed physical memory—virtual memory on SSD is slower and wears SSD slightly more under extreme swap.
- For overall slowness not just memory, use speed up a slow Windows 11 PC.