Wednesday 30 June, 2010

Not enough storage is available to process this command

I recently faced an issue in the development server, the error message "Not enough storage is available to process this command" popped up when try to ran the longer query in the sql server.



The reason for the error was due to the IPRStackSize registry entry was missing or setting too low.

In my case the IPRStackSize registry entry was missing .

To resolve these errors I did the following:

1) Start -> Run ->Type regedit
2) Locate and click the following entry
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

3)If the IRPStackSize entry is not present in this subkey, follow these steps:


Click Edit, point to New, and then click DWORD Value.

Type IRPStackSize, and then press ENTER.

Note: Type IRPStackSize exactly as it appears. The value name is case sensitive.

4) Right Click IRPStackSize and then click Modify.



5) Select the Base as decimal. In the Data Value box, type a larger value and then click OK.


No comments:

Post a Comment