Medium
Operating Systems
✓ Solution Verified by Community (0+ upvotes)
How to fix error error-not-enough-memory in Windows 11
ERROR_NOT_ENOUGH_MEMORY = 8
Fix based on community reports and expert analysis. Last verified: 2026-08-12
· How we verify fixes
| Error Code | error-not-enough-memory |
|---|---|
| Affected System | Windows 11 (Microsoft) |
| Difficulty | Medium |
| Estimated Time | 15 min |
| Requires Admin Rights | ⚠️ Yes |
| Requires Reboot | 🔄 Yes |
Solution Steps
- 1 First, close unnecessary programs. Press Ctrl+Shift+Esc to open Task Manager. Look at the 'Memory' column and sort by it. Right-click any program you're not using and select 'End task'. This frees up RAM immediately.
- 2 Check for memory leaks. In Task Manager, go to the 'Processes' tab and look for programs using an unusually high amount of memory. If a program's memory usage keeps increasing over time, it may have a leak. Update or reinstall that program.
- 3 Increase virtual memory. Press Windows key + R, type 'sysdm.cpl', and press Enter. Go to the 'Advanced' tab, click 'Settings' under Performance, then go to the 'Advanced' tab again and click 'Change' under Virtual memory. Uncheck 'Automatically manage paging file size for all drives', select your system drive, choose 'Custom size', and set Initial size and Maximum size to 1.5 times your RAM (e.g., if you have 8 GB RAM, set both to 12288 MB). Click 'Set' and 'OK'.
- 4 Restart your computer to apply the changes. This clears the RAM and ensures the new virtual memory settings take effect.
- 5 If the error persists, consider adding more physical RAM. Check your motherboard's specifications and purchase compatible RAM modules. This is the most effective long-term solution.
🔍 Didn't work? Enter your GPU and CPU for hardware-specific advice:
🔧 Still having issues?
Describe your exact problem to Error Buddy and get a personalized fix in seconds.
🛠️ Try Error Buddy — It's Free