Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2010 "Not enough storage is available to process this command"

I'm fighting with VS 2010 and this error that seems to be very common in previous versions, but it looks like not everyone is having it in the latest version. I've got VS 2010 SP1 and I'm getting this error quite often.

The problem is that it's not even enough to restart VS in order to make it go away, I usually have to restart my PC, and I'm losing a lot of time doing this (it's quite frequent)

I've got Windows 7 32bits (can't upgrade to 64 bits, the company doesn't allow it), and I can't do things like creating another solution (please don't reply this :) )

I've used the command to make devenv.exe LARGEADDRESSAWARE, but the error keeps on happening. My virtual memory size is set to automatic, and the weird thing is that VS doesn't even take 2GB of ram, so I don't know if the error is really because it's lacking memory, or if it's some bug in the program

Any ideas, things to try, something?

like image 327
Daniel Perez Avatar asked Apr 08 '11 07:04

Daniel Perez


1 Answers

I tried everything else as well. The problems continued to come back until I tried http://blog.rongabriel.com/2010/03/08/not-enough-storage-is-available-to-process-this-command/

Edit: Link is dead, archived version: http://web.archive.org/web/20100929160038/http://blog.rongabriel.com/2010/03/08/not-enough-storage-is-available-to-process-this-command/

  1. Click on Start > Run > regedit & press Enter
  2. Find this key name HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters
  3. Locate IRPStackSize
  4. If this value does not exist Righ Click on Parameters key and Click on New > Dword Value and type in IRPStackSize under the name.
  5. The name of the value must be exactly (combination of uppercase and lowercase letters) the same as what I have above.
  6. Right Click on the IRPStackSize and click on Modify
  7. Select Decimal enter a value higher than 15(Maximum Value is 50 decimal) and Click Ok
  8. You can close the registry editor and restart your computer.

This can be found under MS KB https://support.microsoft.com/en-us/kb/285089

like image 86
jonperl Avatar answered Nov 16 '22 19:11

jonperl