Windows performance

Page file / virtual memory issues slowing down Windows

The page file lets Windows use drive space as overflow memory when RAM runs low; if it's misconfigured, too small, or on a slow drive, it can cause noticeable slowdowns and error messages.

Difficulty
Moderate
Time
15–30 minutes
DIY cost
$0
Pro cost
$60–$100

Symptoms

  • 'Your system is low on virtual memory' warning
  • Slowdowns that get worse the more programs are open
  • Page file located on a very full or slow drive
  • Occasional app crashes referencing memory errors

Likely causes

  • CommonPage file set too small for your RAM and workloadWindows needs enough virtual memory headroom to handle demanding tasks.
  • CommonPage file located on a nearly full driveLittle free space limits how much the page file can grow when needed.
  • PossiblePage file located on a slow mechanical hard driveSwapping to an HDD is far slower than swapping to an SSD.
  • CommonNot enough physical RAM, so the system relies heavily on the page fileThe underlying cause is often simply insufficient RAM, with the page file symptom being secondary.
  • Less commonManually disabled or misconfigured page file settingsSome users disable it entirely trying to 'optimize' the system, which can backfire.

What to do

  1. Search 'Advanced system settings' in the Start menu, go to Performance > Settings > Advanced > Virtual memory > Change.
  2. Confirm 'Automatically manage paging file size for all drives' is checked, which is the safest default for most people.
  3. If it's unchecked and set manually too small, either re-check automatic management or increase the size.
  4. Make sure the page file is located on your fastest drive (ideally an SSD) if you have multiple drives.
  5. Free up space on the drive hosting the page file if it's nearly full.
  6. Check Task Manager's Memory tab to see overall RAM pressure; frequent high usage points to needing more physical RAM rather than just page file tweaks.
  7. Restart after changing virtual memory settings for them to take effect.
  8. If 'low on virtual memory' warnings persist, treat it as a sign you likely need a RAM upgrade.

Tools and parts

  • None required

When to call a pro

If warnings continue even after adjusting these settings, a technician can help determine whether a RAM upgrade or drive issue is the real cause.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.