Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am getting following exceptions when I start running some commands in Cygwin.

C:\cygwin\bin\bash.exe (4136): *** couldn't allocate cygwin heap, Win32 error 0,
 base 0x740000, top 0x755000, reserve_size 86016, allocsize 86016, page_const 40
96
30952849 [main] bash 7928 sync_with_child: child 4136(0x240) died before initial
ization with status code 0x1
30953019 [main] bash 7928 sync_with_child: *** child state waiting for longjmp
bash: fork: Resource temporarily unavailable
bash-2.05b$ ls
C:\cygwin\bin\bash.exe (4236): *** couldn't allocate cygwin heap, Win32 error 0,
 base 0x740000, top 0x755000, reserve_size 86016, allocsize 86016, page_const 40
96
32476910 [main] bash 7928 sync_with_child: child 4236(0x240) died before initial
ization with status code 0x1
32478264 [main] bash 7928 sync_with_child: *** child state waiting for longjmp
bash: fork: Resource temporarily unavailable

If this is a memory issue, How can I increase the heap size for Cygwin, I am using windows7

Thanks in advance for any help

share|improve this question

migrated from stackoverflow.com Oct 31 '12 at 6:50

This question came from our site for professional and enthusiast programmers.

    
I think this is off-topic, and belongs on SuperUser. –  Jonathon Reinhart Oct 31 '12 at 3:54
    
Try looking at this page: cygwin.com/cygwin-ug-net/setup-maxmem.html –  Daniel Haley Oct 31 '12 at 4:08
    
Related (on SO): Win 8, cygwin heap failure (there are a few answers with some solutions you might want to try). –  Breakthrough May 27 '13 at 23:36
add comment

1 Answer

This looks like a classic fork() error. See the relevant section in the Cygwin FAQ for more information.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.