Receiving an urgent operating system dialogue box reading ‘Your computer is low on memory. To restore enough memory for programs to work correctly, save your files and then close or restart all open programs’ halts productive work. In this condition, active applications freeze, web browser tabs crash with out-of-memory codes, and full-screen games abruptly exit to desktop.
This warning triggers not necessarily when physical RAM is 100% full, but when the Windows Commit Limit (the combined sum of physical RAM and the virtual paging file) is exhausted. Software memory leaks, misconfigured static pagefiles, or heavy background browser processes frequently deplete available commit limits. Here is how to resolve memory exhaustion.
Expand and Optimise Virtual Memory Paging File Size
When physical RAM fills up, the Windows memory manager offloads inactive memory pages onto your high-speed SSD via the paging file (pagefile.sys). If the paging file is disabled or capped too low, Windows throws low memory warnings.
- Press Windows Key + R, type
sysdm.cpl, and press Enter to launch System Properties. - Select the Advanced tab.
- Under the Performance section, click Settings….
- In the Performance Options window, switch to the Advanced tab and click Change… under Virtual memory.
- Untick Automatically manage paging file size for all drives.
- Select your primary system drive (
C:), choose Custom size, and set initial and maximum thresholds based on your installed physical RAM:- Initial size (MB): 1.5 times your physical RAM (e.g., 12288 MB for 8 GB RAM, or 24576 MB for 16 GB RAM).
- Maximum size (MB): 3 times your physical RAM (e.g., 24576 MB for 8 GB RAM, or 49152 MB for 16 GB RAM).
- Click Set, then click OK and restart your PC.
Identify and Terminate Application Memory Leaks
A software bug known as a memory leak occurs when an application continuously allocates RAM without freeing discarded variables, slowly consuming entire memory pools.
- Press Ctrl + Shift + Esc to launch Task Manager.
- Click the Memory column header to sort active processes from highest to lowest usage.
- Examine the list for runaway processes (such as background browser helper threads, antivirus services, or game mod launchers) consuming abnormal memory allocations.
- Right-click the leaking process and select End task.
- Check for software patches or reinstall the offending application.
Run Windows Memory Diagnostic to Check for Faulty RAM Modules
Physical hardware degradation on memory sticks can corrupt addressing tables, leading Windows to report memory allocation failures.
- Press Windows Key + R, type
mdsched.exe, and press Enter. - Select Restart now and check for problems (recommended).
- Your system will reboot into the blue Windows Memory Diagnostic tool and perform exhaustive read-write checks across all physical memory channels.