VS 2005:Error 4': Not enough storage is available to complete this operation.

Posted on 2009-07-13
Medium Priority
Last Modified: 2013-11-10
Hi Everyone,
While developing a WINDOWS application using  VS 2005.
 I am getting too often the following error to the point that is getting very difficult to work with this, as we have to kick out VS and re-start it to get that going.
Error 4 Unable to write to output file 'C:\apps\CI_net\Code\CI\obj\Debug\CI.exe': Not enough storage is available to complete this operation. 	
Some environment specs:
Running on Windows XP pro 
Machine with 4 GB RAM
140 GB Free disk Space
When this happens I check how much memory is been used and is only 1.5 GIG,
other developers are experiencing the same error on different types of machines but similar specs.
Additionally I am using Developer Express controls version 9.15 
Any help will be appreciated.

Open in new window

Question by:George
LVL 15

Accepted Solution

spprivate earned 2000 total points
ID: 24843580
This is a problem confirmed by microsoft which is fixed in VS 2008.
(Refer this link)

Follow the steps

   1. Backup the boot.ini file. Then, put the /3GB switch in your boot.ini For more information on the /3GB option, please check the following article: Memory Support and Windows Operating Systems: http://www.microsoft.com/whdc/system/platform/server/PAE/PAEmem.mspx
   2. Make DEVENV large address aware.
         1. Open up a VS 2005 command prompt
         2. Change directory to the Microsoft Visual Studio 8\Common7\IDE directory.
         3. Backup devenv.exe file.
         4. Type and execute the following command line: "editbin /LARGEADDRESSAWARE devenv.exe"
   3. Reboot Windows and Build.

Author Closing Comment

ID: 31602998
Thank you very much spprivate!
It works like a charm

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question