Low virtual memory errors on Windows stop programs from opening or cause freezing, and the fix is usually adjusting the page file size or freeing up disk space. This guide walks you through the causes and the exact steps to resolve it on Windows 10 and 11.
What Virtual Memory Actually Is
Virtual memory is a combination of your physical RAM and a hidden file on your hard drive called the page file (or swap file). When RAM fills up, Windows moves less-used data from RAM into this file, freeing physical memory for active tasks. The page file is named pagefile.sys and sits in the root of your system drive by default.
The error “Your system is low on virtual memory” appears when the page file is too small, disk space is exhausted, or a program requests more memory than the system can provide. It is not a sign that your RAM is broken; it is a warning that the memory manager cannot find enough space to work with.
Why the Error Happens
The most common triggers are:
- Too many programs running – each open app holds a share of RAM and page file space.
- A memory leak – a poorly coded program keeps requesting memory without releasing it.
- Disk full – the page file cannot grow if the drive has no free space.
- Manual page file set too low – someone (or an optimizer tool) set a fixed size smaller than what Windows needs.
- Hardware failure – failing RAM can cause memory errors, though this is less common.
You can check current usage by opening Task Manager (Ctrl+Shift+Esc) and looking at the Performance tab. Under Memory, you will see how much is in use and how much is cached. If the “Committed” value is close to the limit, your system is under memory pressure.
Step-by-Step Fix: Adjust the Page File
Follow these steps to set Windows to manage the page file automatically, which is the safest fix for most users.
- Press Win + R, type
sysdm.cpl, and press Enter. - Go to the Advanced tab, then under Performance click Settings.
- In the Performance Options window, open the Advanced tab.
- Under Virtual memory, click Change….
- Uncheck “Automatically manage paging file size for all drives” if it is checked.
- Select your system drive (usually C:), choose System managed size, and click Set.
- Click OK and restart your computer when prompted.
If you prefer a custom size, set Initial and Maximum to 1.5× your RAM (e.g., 3072 MB for 2 GB RAM) and 3× your RAM (e.g., 6144 MB), respectively. But the system-managed option is almost always better because it adapts to your workload.
Free Up Disk Space
A full drive is a common cause. The page file needs room to expand, and if your C: drive is over 90% full, Windows may fail to grow it.
- Run Disk Cleanup (search for it in the Start menu) and delete temporary files, recycle bin contents, and Windows Update leftovers.
- Uninstall programs you no longer use via Settings > Apps.
- Move personal files (videos, downloads) to another drive or cloud storage.
- Consider using Storage Sense (Settings > System > Storage) to automate cleanup.
After freeing space, restart and see if the error returns.
Check for Memory Leaks and Problem Apps
If the error keeps occurring after adjusting the page file, a specific program may be the culprit. Open Task Manager and sort processes by Memory usage. Look for an app using an unusually large amount (e.g., a browser with dozens of tabs, or a game that runs for days).
End that task, then update or reinstall the software. If the leak is in a system service, a clean boot (disabling all non-Microsoft startup items) can identify the source. To do this, run msconfig, go to Services, check “Hide all Microsoft services,” click Disable all, then restart. If the error stops, re-enable services one by one.
When to Add More RAM
Adjusting the page file is a temporary fix. If you regularly see this error while doing normal work, your system likely does not have enough physical RAM. For example, a Windows 11 PC with 4 GB RAM will struggle with a browser and office apps open simultaneously. Adding RAM (e.g., from 4 GB to 8 GB or 16 GB) is the permanent solution.
Check your motherboard’s specs to see what type of RAM you need (DDR3, DDR4, etc.) and the maximum capacity. This is a hardware upgrade, so if you are not comfortable, a local repair shop can install it for you.
Common Misconceptions and Safety Notes
A widespread myth is that disabling the page file makes your PC faster. That is false – Windows relies on it even with plenty of RAM, and disabling it can cause crashes in memory-heavy programs. Always keep it enabled.
Another misconception is that the page file should be set to zero on an SSD to save space. This is not recommended; the page file is used for system crash dumps and memory management, and modern SSDs handle the read/write load fine.
If you see the error immediately after a Windows update, try rolling back the update or running sfc /scannow in an elevated Command Prompt to repair system files. If the error includes a specific file name, search for that file online to see if it belongs to a known buggy program.
Frequently Asked Questions
How do I check my current virtual memory size?
Open the same Virtual Memory dialog (sysdm.cpl > Advanced > Settings > Advanced > Change). Under “Paging file size for each drive,” you will see the current size in MB. You can also run wmic pagefile list /format:list in Command Prompt for a summary.
Will increasing the page file damage my SSD?
No. Modern SSDs have high endurance, and the page file is written to only when memory pressure occurs. The amount of writes is negligible compared to other system activity. Keeping the page file on an SSD is fine.
What does “committed memory” mean in Task Manager?
Committed memory is the total amount of virtual memory (RAM + page file) that Windows has reserved for running processes. If this number approaches the “Commit limit” (RAM + current page file size), the system will try to expand the page file or warn you.
Can I move the page file to another drive?
Yes, you can. In the Virtual Memory dialog, select a different drive, choose a custom size, and set the system drive to “No paging file.” However, this is not recommended unless the other drive is faster (e.g., a second SSD) because Windows may perform better with the page file on the system drive.
Why does the error come back after restarting?
If you set a custom page file size that is too small, or if a startup program has a memory leak, the error will return. Recheck your page file settings, and consider using “System managed size” to let Windows adjust. Also, scan for malware, as some infections cause abnormal memory usage.
Is it safe to ignore the low virtual memory warning?
No. Ignoring it can lead to application crashes, data loss, and system instability. It is a warning that your system cannot allocate the memory it needs. Address it promptly by following the steps above.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- How to Create App Shortcuts in Windows 10 Start Menu
- How to Rename a SQL Server Database
- Fix Google Calendar Not Syncing on iPhone
- Fix Skype Microphone Not Working on Windows
- Google Docs Landscape: Change Page Orientation
- Recover Deleted Admin Account in Windows 11