Search code examples
windowscompilationcygwin

Win 8 ,cygwin heap failure


I get the following error compiling with make (I have cygwin.dll)

   *** Couldn't reserve space for cygwin's heap (0x150000) in child, cygheap, Win32 error 0
          0 [main] make 4336 sync_with_child: child 2968(0x120) died before initialization with status code 0x1
        308 [main] make 4336 sync_with_child: *** child state waiting for longjmp

How could it be solved? Thanks


Solution

    • Reboot your system:

    Most users complaining about this problem reported it goes away after a reboot. If you are using Windows 7, check the message from BerndP in this thread, it has some tips related to adjusting Virtual Memory settings on Windows.

    • Might be some software interfering with Cygwin:

    This post brings an interesting discussion of random problems with Cygwin. The BLODA list presents a list of applications that are known to cause strange failures and problems in Cygwin.

    EDIT:

    Windows 8 has not been officially released, so don't expect Cygwin to work on it.

    Cygwin can be expected to run on all modern 32 bit versions of Windows This includes, as of the time of writing this, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7, as well as the WOW64 32 bit environment on released 64 bit versions of Windows (XP/2003/Vista/2008/7/2008 R2).