For most gaming PCs the right Windows page file setting is the default: leave it on automatic and keep it enabled on a fast SSD. Disabling it does not make games faster and can cause crashes with out of memory errors, even on systems with plenty of RAM. A custom size is only worth setting if a specific game or a low-storage drive gives you a reason.
- What the Page File Actually Does
- Default, Custom or Off: What to Choose
- Sizing Guidance by RAM
- How to Check Your Memory Use First
- How to Change Page File Settings in Windows
- Which Drive Should Hold It
- Fixing Out of Memory Errors in Games
- When the Page File Is Not the Real Problem
- Before You Change Anything Checklist
- Common Mistakes
- Related guides
- Frequently Asked Questions
The page file, also called virtual memory, is a reserved area on disk that Windows uses as an overflow for memory commitments. This guide explains how it works in plain terms, when changing it makes sense, how to set a custom size safely, and which myths to ignore. The steps apply to current Windows versions in 2026, though menu names can shift slightly with updates.
What the Page File Actually Does
Windows lets programs request more memory than is physically available, then backs those requests with RAM and a page file. When RAM runs low, Windows can move less-used data to the page file to make room. It also sets aside space for memory that programs have promised to use but have not touched yet.
Commit Limit and Why It Matters
The commit limit is roughly your RAM plus the page file. If a game or launcher asks for more committed memory than that limit allows, Windows refuses the request and the program can crash or show a low virtual memory message, even when Task Manager shows free RAM. A page file raises that limit.
Why Games Care
Some games reserve large amounts of memory at launch and use only part of it. Without a page file, these reservations can fail. This is why advice to turn the page file off to save SSD wear or speed things up often causes more problems than it solves.
Crash Dumps
Windows also uses the page file on the system drive when it writes crash information after a blue screen. Disabling it can limit the debugging data available if you ever need to diagnose a stability problem.
Default, Custom or Off: What to Choose
Leave It on System Managed
This is the right answer for most people. Windows adjusts the size as needed and can grow it when memory demand is high. It works well on 16 GB and 32 GB systems, and it avoids the risk of choosing a number that is too small.
Set a Custom Size
Consider this if you see virtual memory warnings, run memory-hungry games alongside other programs, or your system drive is nearly full and you want to place the file on another SSD. A fixed size also prevents the file from growing and shrinking, which can slightly reduce fragmentation on hard drives.
Turn It Off
Avoid this. Even with 64 GB of RAM, some applications expect a page file to exist, and stability can suffer. If you want to save space, set a smaller custom size instead of disabling it.
Sizing Guidance by RAM
There is no single magic formula. Microsoft has published different rules of thumb over the years and the best number depends on your workload. The table gives conservative starting points for gaming rather than strict requirements, so confirm with Task Manager and adjust if you see warnings.
| Installed RAM | Suggested Approach | Notes |
|---|---|---|
| 8 GB | System managed, ample free SSD space | Memory pressure is likely, so more RAM helps more than tuning |
| 16 GB | System managed, or custom initial and maximum of roughly 8 to 16 GB | Good starting point for most gaming PCs |
| 32 GB | System managed, or custom of roughly 8 to 16 GB | Rarely needs changing |
| 64 GB or more | System managed, or a modest fixed size | Do not disable; keep space for crash dumps |
How to Check Your Memory Use First
- Open Task Manager with Ctrl, Shift and Esc, then go to the Performance tab and select Memory.
- Look at the Committed figure, shown as used out of the limit. If the used number stays well below the limit while you game, you have plenty of room.
- Launch your most demanding game and any apps you keep open, such as a browser, voice chat and a streaming tool.
- Watch the committed number after 20 to 30 minutes. If it approaches the limit, increase RAM or the page file.
- Note any low memory messages from Windows and the game, since they usually appear when the commit limit is reached.
How to Change Page File Settings in Windows
- Open Settings, go to System, then About, and select Advanced system settings.
- In the Advanced tab, click Settings under Performance, then open the Advanced tab again and click Change under Virtual memory.
- Untick Automatically manage paging file size for all drives to edit values.
- Select the drive, choose Custom size, and enter the same number for Initial size and Maximum size in megabytes.
- Click Set, then OK on each window, and restart the PC when prompted.
- To return to defaults later, tick Automatically manage paging file size again and restart.
Keep a small page file on the system drive so Windows can still record crash dumps, even if you put the main file on another SSD. Back up your files or create a restore point before making system changes.
Which Drive Should Hold It
Fast Internal SSD
An NVMe or SATA SSD is the right place for the page file. Access is fast enough that rare paging causes little visible slowdown.
Hard Drives and External Drives
A hard drive can work in an emergency but causes stutter when it is actually used. Avoid external or removable drives because a disconnect can crash applications.
Wear on SSDs
Modern SSDs have endurance ratings far beyond the writes a page file typically creates on a gaming PC, so wear is not a good reason to disable it. Check your drive maker’s guidance if you are worried.
Fixing Out of Memory Errors in Games
If a game closes with an out of memory or low virtual memory message, work through the causes from simple to complex rather than jumping straight to a custom size.
- Confirm the page file is enabled and set to system managed on the drive Windows uses, then restart.
- Free at least 20 to 30 GB on the system drive so Windows has room to grow the file.
- Close browsers, overlays and recording tools before launching the game, since each adds to total committed memory.
- Lower texture quality and any option labeled as memory or streaming budget in the game’s settings.
- Update the graphics driver and the game, because memory leaks are often patched.
- If the error remains, set a custom size with the same initial and maximum value and retest.
Games That Ask for a Lot
Large open-world titles, heavily modded games and some early-access releases can commit far more memory than they actively use. Developers sometimes publish a recommended page file note on the game’s support page, so check there. If a game’s official guidance differs from the general advice here, follow the developer.
Video Memory and the Page File
When your graphics card runs short of VRAM, some data spills into system memory and can raise commit use. Lowering texture settings reduces both problems at once, which is often more effective than enlarging the page file.
When the Page File Is Not the Real Problem
Stutter, crashes and low frame rates often come from other causes. Too little RAM, a nearly full SSD, memory leaks in a game, aggressive overclocks and unstable memory profiles can look like virtual memory issues. If tuning the page file does not help, test memory stability and check game forums for known bugs before changing more settings.
Before You Change Anything Checklist
- Check Task Manager commit figures during real gameplay.
- Confirm the target SSD has enough free space.
- Keep the page file enabled on the system drive.
- Write down your original settings so you can revert.
- Change one thing at a time and restart before testing.
Common Mistakes
- Disabling the page file entirely because the PC has a lot of RAM.
- Setting a tiny fixed size that is lower than the memory the game commits.
- Placing the file on a slow or removable drive.
- Confusing free RAM with available commit, then chasing the wrong fix.
- Ignoring a full system drive, which can stop Windows from growing the file.
Related guides
- Aio Liquid Coolers For High Performance Gaming
- Wireless Gaming Headsets Under 100 For Pc
- Ssds For Large Video And Raw Photo Files
Frequently Asked Questions
Does a bigger page file improve gaming performance?
No. It prevents errors when memory commitments are high, but it does not make games run faster. If Windows is leaning on it constantly while you play, adding RAM is the real improvement.
Should I put the page file on a separate drive?
It can help if the system drive is short on space, as long as the other drive is a fast internal SSD. Keep a small file on the system drive as well.
Why does a game say low virtual memory with free RAM available?
The game is hitting the commit limit rather than running out of physical RAM. Enabling or enlarging the page file, or closing other programs, usually resolves it.
Is it safe to use the system managed setting forever?
Yes, for most users. Windows is designed to manage it, and a custom value is only necessary for specific problems or storage limits.






