NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Build Failed Error

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
splunk



Joined: 07 Jan 2009
Posts: 23

PostPosted: Sun Aug 30, 2009 6:08 pm    Post subject: Build Failed Error Reply with quote

Hello,

I recently installed the plugins and tools needed to write C++ code. First I tried the Cygwin tools first without success. I deleted those files, and then installed the MinGW tools. When I try to Build the test project I get the following error:

AllocationBase 0x0, BaseAddress 0x715B0000, RegionSize 0x150000, State 0x10000
C:\msys\1.0\bin\make.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
BUILD FAILED (exit value 1, total time: 93ms)

There are no options that I can find in NetBeans for Cygwin. Everything is set for MinGW.

Does anyone have any ideas as to what I need to do?

Thank you.
Back to top
Alexey Vladykin
Posted via mailing list.





PostPosted: Mon Sep 21, 2009 5:04 pm    Post subject: Build Failed Error Reply with quote

A couple of links found in Google in 3 minutes:

Somebody already faced this problem. There are some suggestions to try:
http://www.nabble.com/make.exe-dies-with-cygwin-heap-error-when-cross-compiling-gcc-4.1.2-td22913262.html

Other person reports that installing update for Windows helped:
http://readlist.com/lists/lists.sourceforge.net/mingw-msys/0/676.html

Alexey
Back to top
ashok1288



Joined: 22 Aug 2010
Posts: 1
Location: India

PostPosted: Wed Feb 09, 2011 1:16 pm    Post subject: Solution!!!! Reply with quote

Hi users I have got a solution.This problem is caused by the antivirus software you are using.
To verify it disable your antivirus for temporary and run the compiler.
To get rid of this memory problem add a exclusion entry for "C:\MinGW\MinGW\msys\1.0\bin\sh.exe" and "C:\MinGW\MinGW\msys\1.0\bin\make.exe" or add this two programs sh.exe and make.exe to trust list in your Antivirus software.

Hope this works....
Back to top
alxstyles



Joined: 25 Jan 2012
Posts: 1

PostPosted: Wed Jan 25, 2012 9:57 pm    Post subject: Reply with quote

Had this problem and found this thread. Updated windows and problem went away.

Running Win 7, 64 bit
Back to top
LePhleg



Joined: 24 Feb 2012
Posts: 1

PostPosted: Fri Feb 24, 2012 4:43 am    Post subject: Reply with quote

I had the same problem and managed to solved it only by replacing the msys-1.0.dll located in "C:\msys\1.0\bin".

Just download and replace it with the file found here: http://support.code-red-tech.com/CodeRedWiki/VirtualAllocPointerNull
Back to top
hobbis



Joined: 11 Oct 2012
Posts: 3
Location: London, England

PostPosted: Tue Oct 16, 2012 10:04 pm    Post subject: Avast's antivirus caused this problem Reply with quote

I had the same problem and it turned out to be Avast's (antivirus software) behavior monitor (monitors suspicious behavior on my system).

these are the errors I had:

Code:

m.AllocationBase 0x9E0000, m.BaseAddress 0x9E0000, m.RegionSize 0x181000, m.State 0x1000
C:\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x9E0000 <0x1F70000>) in child, Win32 error 0
m.AllocationBase 0x8E0000, m.BaseAddress 0x9E0000, m.RegionSize 0x80000, m.State 0x2000
C:\msys\1.0\bin\sh.exe: *** Couldn't reserve space for cygwin's heap (0x9E0000 <0x2000000>) in child, Win32 error 0
make: *** [.validate-impl] Error 1


Once disabled, it worked fine.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo