
當我開始在 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
如果這是記憶體問題,如何增加 Cygwin 的堆大小,我使用的是 windows7
預先感謝您的任何幫助
答案1
這看起來像是一個經典fork()
錯誤。請參閱Cygwin 常見問題中的相關部分了解更多。