Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expando 4 36
How Do I set the Visual Minor Grid Interval Value Programatically? 4 22
Showdialog 8 21
Events in static methods 3 31
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

743 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

12 Experts available now in Live!

Get 1:1 Help Now