You're staring at that error code 0X80080011 and thinking "what now?" I get it. This is one of those annoying Windows errors that pops up when a program tries to grab more memory than your system can give. Don't worry, we'll fix it.
The fast fix: Increase virtual memory
Here's the thing — most of the time, this error happens because your system's virtual memory limit is too low. Virtual memory is space on your hard drive that Windows uses as extra RAM when the real RAM is full. The fix is simple.
- Press Windows Key + R on your keyboard. You'll see a little Run box pop up.
- Type
sysdm.cpland hit Enter. The System Properties window opens. - Click the Advanced tab at the top.
- Under Performance, click Settings. A new window opens.
- In the Performance Options window, click the Advanced tab again.
- Under Virtual memory, click Change.
- Uncheck the box that says Automatically manage paging file size for all drives. You should see this box is checked by default.
- Select your C: drive (or the drive where Windows is installed).
- Click Custom size.
- In Initial size (MB), type
4096. That's 4 GB. - In Maximum size (MB), type
8192. That's 8 GB. - Click Set. Then click OK on all open windows.
- You'll see a message saying you need to restart. Click OK.
- Restart your computer.
After restarting, try running the program that gave the error. It should work now. If not, keep reading.
Why this works
When a program asks for a big chunk of memory — like a game, video editor, or some database software — Windows checks if it has enough space. If your virtual memory is set too low, it says "nope, can't do that" and throws error 0X80080011. By setting virtual memory to 4 GB minimum and 8 GB maximum, you're giving Windows breathing room. The program can grab what it needs.
One real-world trigger: I see this a lot with older programs designed for Windows 7 that try to allocate memory in a way Windows 10 or 11 doesn't like. Also happens with some Python scripts that try to load huge datasets into RAM.
Less common variations of this issue
1. The program has a memory leak
If the fix above doesn't help, the problem might be on the program side. Some programs have bugs where they keep asking for more and more memory until they hit the limit. Try this:
- Close the program and restart it.
- If it still happens, update the program to the latest version. Search online for the program's name + "update".
- If you can't update, check if there's a memory limit setting inside the program itself. Some games have a "memory allocation" setting.
2. Your RAM is dying or faulty
Bad RAM can make Windows think it has less memory than it really does. This is rare but it happens. To check:
- Press Windows Key + R, type
mdsched.exe, hit Enter. - Choose Restart now and check for problems (recommended).
- Your computer will restart and run a memory test. This takes 10-30 minutes. Let it finish.
- After restart, check the results. If you see errors, your RAM is bad and needs replacing.
3. A 32-bit program hitting the 2 GB limit
Older 32-bit programs can only use about 2 GB of RAM total. If the program tries to allocate more than that, you get this error. The fix is to use a 64-bit version of the program if one exists. Check the software maker's website.
4. Antivirus or security software blocking memory allocation
Some aggressive antivirus programs block memory requests they think are suspicious. If you recently installed new security software:
- Try pausing the antivirus temporarily and running the program again.
- If it works, add the program to your antivirus's exceptions list.
How to prevent this from happening again
Once you've fixed it, here's how to keep it from coming back:
- Keep virtual memory manually set at 4-8 GB. Don't let Windows manage it automatically — the auto setting can be too small.
- Close unused programs. They eat up RAM and make the problem worse.
- Check for memory leaks in any programs you use daily. Task Manager (Ctrl+Shift+Esc) shows memory usage. If a program's memory keeps growing over time, it has a leak.
- Upgrade your physical RAM if you can. More RAM means less reliance on virtual memory. 8 GB is minimum for modern Windows. 16 GB is better.
That's it. The error 0X80080011 is annoying but usually fixable with that virtual memory tweak. Try the steps above, and you'll be back to work in no time.