I am getting the following error in Visual Studio during the build:
...\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(2868,9): error MSB3021: Unable to copy file "obj\Debug\someproject.dll" to "Bin\Debug\someproject.dll". Not enough storage is available to process this command.
And sometimes (if I could compile the solution) the following one in run-time when starting the web application:
Could not load file or assembly 'SomeWebSite' or one of its dependencies. Not enough storage is available to process this command. (Exception from HRESULT: 0x80070008)
I have already tried increasing IRPStackSize
to it's maximum value, but it did not help.
The problem seems to disappear temporarily after rebooting, but then it happens again.
- Windows 7 32-bit SP1
- Visual Studio 2010 SP1
- Silverlight 5