What pagefile.sys actually means
When apps need more memory than your RAM holds, Windows moves less-used data to pagefile.sys on the system drive. It’s also where a memory dump is written during a blue screen, which helps troubleshooting.
Turning the page file off can cause “out of memory” errors and crashes even on PCs with lots of RAM, because some apps expect it to exist. Windows sizes it automatically based on RAM and usage.
Symptoms
- A large hidden file called pagefile.sys in the root of C:.
- Low disk space with pagefile.sys among the largest files.
- “Your system is low on virtual memory” warnings.
What causes pagefile.sys
- Normal virtual memory use: Windows sizes it automatically.
- Lots of memory-hungry apps or many browser tabs.
- Crash dump settings that require a larger page file.
Try these fixes
- Leave it system-managedPress Win+R, run
sysdm.cpl→ Advanced → Performance Settings → Advanced → Virtual memory → Change, and tick Automatically manage paging file size. - Free space elsewhereUse Settings → System → Storage → Cleanup recommendations and Storage Sense.
- Move it if neededIn the same Virtual memory window, untick automatic, select another fast drive, choose System managed size → Set, then set C: to No paging file (or a small size) and restart.
- Fix low virtual memory warningsClose memory-heavy apps, check for memory leaks in Task Manager, and make sure the page file isn't disabled.
Avoiding it in future
Keep at least 15% free space on the system drive and leave the page file on automatic.
