Visual Studio 2008 - Not enough storage space is available

by Rick Glos 11. February 2008 19:39

We get a, "Not enough storage space is available" error at the office quite abit, especially with the move to VS 2008 and instead of just passing around the fix internally, I thought I'd post it publicly in case others may find it useful.

We gleaned this information from a forum post on the MSDN message boards here.

Basically, you're going to allow VS to use more memory.  Since we have WinXP boxes with 4GB this is useful.

First, edit your boot.ini file on your C: drive.  Make a backup of the file just in case (copy+paste it in the same directory for example).

Locate your boot.ini

Next, add the 3GB switch option.

Add 3GB switch.

Now we need to use a utility.  Open a command prompt.  And run the editbin utility with the /LARGEADDRESSAWARE switch on the visual studio exe, devenv.exe.

Since they are not in the same folders, specify everything with full paths.  For a majority of you that used the defaults to install, this should work, but change the paths if you need to:

"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\editbin.exe" /LARGEADDRESSAWARE "C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe"

image

Now you need to reboot your machine.

Done.

Later

Tags:

Comments

2/12/2008 3:30:24 AM #

Mandie

How to you make more space?? DRINK MORE BEER!!! Smile (Ryan told me to say it.. )

Mandie United States | Reply

5/28/2008 11:45:58 AM #

Kyle Brockmann

Dude... you rock!

Ty so very much.

Kyle Brockmann South Africa | Reply

4/14/2009 2:35:39 PM #

Tom

For VS2005, the command for my setup was:
"C:\Program Files\Microsoft Visual Studio 8\VC\bin\editbin.exe" /LARGEADDRESSAWARE "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe"

but it wouldn't work until I copied 4 files according to the instructions I found at social.msdn.microsoft.com/.../2a3c57c5-de79-43e6-9769-35043f732d68

"Copy these files from VS8DIR\Common7\IDE to VS8DIR\VC\Bin:
msobj80.dll
mspdb80.dll
mspdbcore.dll
mspdbsrv.exe"

You could probably accomplish the same with the Path updates, but I was impatient. I just deleted the 4 copied files after I was done.

Tom United States | Reply

12/5/2009 12:07:41 PM #

watch vampire diaries online

I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own BlogEngine blog now. Really the blogging is spreading its wings rapidly. Your write up is a fine example of it.



Regards
Greim

watch vampire diaries online United States | Reply

12/11/2009 9:21:26 AM #

metal carports

i would love to read more from you on this




Regards
Norman

metal carports United States | Reply

12/12/2009 8:52:43 AM #

Provo Homes

The book seems so interesting and content of the post is very valuable.Thanks for sharing this post.



Regards
Lyon


Provo Homes United States | Reply

12/14/2009 1:28:41 PM #

lookout dog car seat

Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful.


Regards
Stewart

lookout dog car seat United States | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen