If you’re getting the ‘ERROR_OUTOFMEMORY‘ error code, with the ‘Not enough storage is available to complete this operation‘ description, follow the troubleshooting steps listed in this article to fix it.
ERROR_OUTOFMEMORY: Error background
The error message ‘Not enough storage is available to complete this operation’ usually occurs when users try to install the latest updates on their computers. More specifically, ERROR_OUTOFMEMORY is prevalent for Windows 7, where it mainly occurs when users try to install a new Service Pack or a Language Pack.
This error is often accompanied by the 0x8007000e error code as well. In other words, the complete error code often looks like this: ERROR_OUTOFMEMORY (0x8007000e).
This error also occurs when users run a client app or a script by using WMI in the .NET Framework 2.0.
Windows 10 systems are also affected by this error, particularly when users try to open Windows-specific features, such as services.msc, disk management, event viewer, the group policy, etc.
In this article, we’re going to show you how to fix ERROR_OUTOFMEMORY (0x8007000e) in these three situations.
How to fix ‘ERROR_OUTOFMEMORY’
Fix ERROR_OUTOFMEMORY on NET Framework 2.0
Error 0x8007000E occurs when an app or a script running in Windows Management Instrumentation (WMI) in the .NET Framework 2.0. stops working. Microsoft explains that this error occurs because the Mscoree.dll module does not free the heaps that it creates.
The good news is that Microsoft already rolled out a hotfix for this problem. All you need to do is go to this Microsoft Support page and check if the hotfix is available for download. There should be a “Hotfix download available” section at the top of support page. The hotfix is available only for particular languages.
If you do not see your language, this means that the hotfix is not available for that language. In this case, you need to contact Microsoft’s Customer Service and Support.
Fix ERROR_OUTOFMEMORY on Windows 7
Solution 1 – Run the Windows Update troubleshooter
Download the troubleshooter from Microsoft, launch it, and follow the on-screen indications. Once the process is completed, restart your computer and then try to install the latest updates again.
Solution 2 — Uninstall unused language packs
Users report that error 0x8007000e occurs on Windows 7 if all the language packs are installed. Try uninstalling all of the unused language packs, reboot your computer, and then start the service pack installation again.
Here’s how to uninstall a language pack:
- Go to Start > type ‘Uninstall display language’ in the search box.
- Click Install or uninstall display languages > select Uninstall display languages.
- Select the language that you want to uninstall > click Next.
- Follow the on-screen instructions to complete the process.
Solution 3 — Check for programs causing memory leaks
Check all the running processes on your computer to identify any programs causing memory leaks. To do that, launch Task Manager and select the Processes column to see which apps use an important amount of memory.
Select the respective process, click the End task button to disable it, and then try to install the latest Windows 7 updates again.
Solution 3 — Repair your registry
The simplest way to repair your registry is to use a dedicated tool, such as CCleaner. Don’t forget to first backup your registry in case anything goes wrong. In this manner, you’ll be able to restore a previous functional OS version.
Solution 4 — Run a full system scan
Malware may cause various issues on your computer, including errors. Perform a full system scan in order to detect any malware running on your computer. You can use Windows’ built-in antivirus, Windows Defender, or third-party antivirus solutions compatible with Windows 7.
Solution 5 — Repair your disk
The ‘Not enough storage is available to complete this operation’ error code may also occur if there is something wrong with your disk. Here’s how to check your disk on Windows 7:
1. Launch Command Prompt as an administrator > type the chkdsk c: /r command > hit Enter.
Replace c: with the letter specific for your disk.
2. Wait for the scan process to complete > restart your computer > try to install the updates again.
Solution 6— Go to Microsoft’s Update Catalog
If you’re trying to download a particular update, you can also use Microsoft’s Update Catalog website. Simply the number of the KB that you’re trying to install in the search box, select the update version, and hit the download button.
Solution 7 – Reset the content of the Catroot2 folder
- Launch Command Prompt
- Type the following commands, hitting Enter after each command:
net stop cryptsvc
xcopy %systemroot%system32catroot2 %systemroot%system32catroot2.old /s
- Delete the content of the catroot2 folder, but keep the folder itself. You should find it here: C:Windowssystem32CatRoot2.
- Type the command net start cryptsvc.
- Exit the Command Prompt window.
Solution 8 – Run the System Update Readiness tool (CheckSur.exe)
This tool runs a scan for inconsistencies that may prevent servicing operations. After you run the tool, the CheckSur.log file is saved in the following location: %systemroot%logscbs.
- Download the System Update Readiness tool from Microsoft for the 32-bit Windows 7 version, or for the 64-bit Windows 7 OS.
- Install and run the tool.
- In the Windows Update Standalone Installer dialog box, click Yes .
4. Wait for about 15 minutes for the tool to install. When installation is complete, click Close.
5. Try to install the latest Windows 7 updates again.
Solution 9 — Temporarily disable your antivirus/ firewall
If you still can’t install the latest updates on your computer, try disabling your antivirus and firewall. Turn off these tools temporarily, while downloading and install the updates. As soon as the updates have been installed, enable your security solutions again.
Fix ERROR_OUTOFMEMORY on Windows 10
The good news is that the ‘ERROR_OUTOFMEMORY’ error code occurs rather rarely on Windows 10. The solutions to fix this error on this OS are similar to those used on Windows 7.
Here’s what you can do to fix the ‘ERROR_OUTOFMEMORY’ 0x8007000e error code on Windows 10:
Solution 1 — Remove the language packs that you don’t use
Keeping extra language packs on your computer may cause ‘out of memory’ errors. As a result, uninstall all the language packs that you no longer use and then try to install the updates/ access the Windows-specific feature again.
Solution 2 — Run a full system scan
Malware may cause various issues on your computer, including errors. Perform a full system scan in order to detect any malware running on your computer. You can use Windows’ built-in antivirus, Windows Defender, or third-party antivirus solutions.
Solution 3 — Repair your registry
The simplest way to repair your registry is to use a dedicated tool, such as CCleaner. Don’t forget to first backup your registry in case anything goes wrong. If you haven’t installed any registry cleaner on your computer, check out our article on the best registry cleaners to use on Windows 10 PCs.
You can also use Microsoft’s System File Checker to check for system file corruption. Here’s how to run an SFC scan:
1. Go to Start > type cmd > right-click Command Prompt > select Run as Administrator
2. Now type the sfc /scannow command
3. Wait for the scanning process to complete and then restart your computer. All corrupted files will be replaced on reboot.
Solution 4 — Run the chkdsk command
The chkdsk command helps you detect and repair various disk issues, including corrupted files and folders which may cause various errors.
1. Go to Start > type cmd > right click the first results and launch Command Prompt as Administrator
2. Enter the chkdsk /f X: command. Replace X with the appropriate letter of your partition > hit Enter
3. Wait for chkdsk to repair your files.
Solution 5 — Clean your temporary files and folders
The simplest and quickest manner to delete your temporary files and folders is to use Disk Cleanup. As you use your computer or browse the Internet, your PC accumulates various unnecessary files.
These so called junk files may affect your computer’s processing speed, causing apps to respond slowly and may also trigger various error codes, including the ‘ERROR_OUTOFMEMORY’ error code.
Here’s how to use Disk Cleanup on Windows 10:
1. Go to Start > type Disk Cleanup > launch the tool
2. Select the disk that you want to clean > the tool will them tell you how much space you can free up
3. Select “Clean up system files”.
Solution 6 — Remove recently installed software
If this error occurs after you installed a new software on your computer, try uninstalling it. Go to Start > type Control Panel > select the program(s) recently added > click Uninstall.
Then restart your computer, and try running that executable file again. Sometimes, various apps may cause incompatibility issues and prevent you from completing particular operations.
If the ‘ERROR_OUTOFMEMORY’ error code occurs when you try to install updates on your PC, you may want to check the troubleshooting steps listed in our ‘The data is invalid’ fix article. This error also prevents users from installing the latest updates on their PCs. The troubleshooting methods listed in that article, may also help you to fix the ‘ERROR_OUTOFMEMORY’ error message.
As always, if you’ve come across other solutions to fix this problem, you can help the Windows community by listing the troubleshooting steps in the comments below.
RELATED STORIES YOU NEED TO CHECK OUT:
- Firefox uses too much memory on Windows 10 [Fix]
- How to solve memory leaks in Windows 10
- Microsoft Edge Content Process continues to drain PC memory