Get Rid of Visual Studio 2008 Memory Errors

I began to see OutOfMemoryException and “Not enough storage is available to process this command” while running Visual Studio 2008 on Windows 7. It’s time to flip the 3GB switch. Here’s how it’s done.

Open a command prompt window running as Administrator. Then execute the following commands in order. Finally, restart windows.

image

BCDEDIT /Set IncreaseUserVa 3072

cd C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\

editbin /LARGEADDRESSAWARE devenv.exe

copy devenv.exe devenv.bak

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s