Share this article
Improve this guide
Not enough memory resources to process this command [FIX]
5 min. read
Updated onOctober 4, 2023
updated onOctober 4, 2023
Share this article
Improve this guide
Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more
Key notes
If you’re getting theERROR_NOT_ENOUGH_MEMORYmessage with theNot enough storage is available to process this commanddescription, follow the troubleshooting steps listed in this article to fix it.
Thiserrorcodes affectsWindows servers, causing systems to crash with the messageNot enough storage is available to process this commandin theerrorlog.
Microsoft explains that thiserrormay occur if the IRPStackSize registry entry on theserveris set too low. As a result, the best and simplest way to solve this problem is to tweak theregistryin order to allocate a larger IRPStackSize value.
How do I fix not enough memory resources are available to process this command
The following solutions involve modifying theregistry. However, severe issues might occur if the registry values are changed incorrectly. Don’t forget to back up theregistrybefore you modify it. In this manner, you can always restore it in case anything goes wrong.
1. Modify the IRPStackSize value
If the problem persists after you’ve modified the value, repeat the same steps and increase the value of IRPStackSize again.
2. Modify the SharedSection values
3. Block UI app forks
A Windows user recently described an interestingtroubleshooting methodto fix the “Not enough storage is available to process this command” error code.
If an important app runs out of storage, you can restart it. Theerrorwill temporarily disappear. However, the desktop heap for the window station service will encountermemoryissues again.
To permanently fix this issue, configure the xyzService.exe that runs out ofmemoryto avoid UI application forks in session 0. Here’s how user BlueCodedescribedthe resolution adopted for this particular situation:
After talked with customer, I figured out that the whole story here is that, customer ran xyzService.exe with domain account DOMAINxyzServiceAccount in session 0, and xyzService.exe forks child processes xyzUIApplication.exe somehow periodically. Unfortunately the UI application did not exit as usually. This operation leaked the desktop heap in this specific window station Service-0x6-453186fc$ gradually until the depletion was detected by xyzService.exe while running queries.
To solve this issue, we simple configured the xyzService.exe and made it not forks UI application in session 0.
4. Upgrade the Microsoft SQL Server
Install the latest Microsoft SQL Server updates to make sure that your system benefits from the latest improvements and patches. For more information about the available updates, go to theUpdate Center for Microsoft SQL Server.
5. Delete the Temporary Folder
The Temporary Folder is hidden by default because it contains a lot of configuration files used byWindowsoccasionally.
It’s not intended to be messed around with, so the safer option is to back up the Temp folder, just to be sure.
You will find this folder in yourWindowspartition, and under the View tab you’ll have to check Hidden items to see it. Or you can try this way:
After you restart your computer, the problem should disappear.
As always, if you’ve come across other solutions to fix thenot enough memory resources are available to process this commanderror, you can list the troubleshooting steps in the comment section below.
Subtract the first from the second and you will know how much memory is utilized.
It is usually an error shown by a program that isn’t able to continue or doesn’t have any more memory available to store data and perform operations. See ourcomplete guideon getting rid of the error.
Usually, it means that the operating system + the applications require more RAM memory than your computer has. Closing some of the applications that run in the background might help.
More about the topics:crash,System Errors
Madalina Dinita
Networking & Security Specialist
Madalina has been a Windows fan ever since she got her hands on her first Windows XP computer.
She is interested in all things technology, especially emerging technologies – AI and DNA computing in particular.
Prior to joining the WindowsReport team, she worked in the corporate world for a number of years.
User forum
0 messages
Sort by:LatestOldestMost Votes
Comment*
Name*
Email*
Commenting as.Not you?
Save information for future comments
Comment
Δ
Madalina Dinita
Networking & Security Specialist
Madalina is a Windows fan since forever, especially interested in AI, emerging technologies, privacy, and security.