Solved

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

Posted on 2009-07-13
2
1,047 Views
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.
 

TIA
 

jguinard

Open in new window

0
Comment
Question by:George
2 Comments
 
LVL 15

Accepted Solution

by:
spprivate earned 500 total points
ID: 24843580
This is a problem confirmed by microsoft which is fixed in VS 2008.
(Refer this link)
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/059d2947-fea2-492f-a734-1b4c774408ce

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.
0
 

Author Closing Comment

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now