This is the mail archive of the
cygwin
mailing list for the Cygwin project.
sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487
- From: Ricardo Urbina <ricardo dot urbina at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 9 Apr 2010 10:47:51 -0500
- Subject: sh.exe: *** fatal error - couldn't allocate heap, Win32 error 487
Hi. Last tuesday I updated my Cygwin installation from 1.7.1 to 1.7.4.
And then I started getting these errors when running a perl script:
% perlscript
3 [main] sh 11716 C:\cygwin\bin\sh.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000,
reserve_size 258048, allocsize 262144, page_const 4096
2 [main] sh 10172 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
3 [main] sh 10996 C:\cygwin\bin\sh.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000,
reserve_size 258048, allocsize 262144, page_const 4096
4773696 [main] sh 10172 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
3 [main] sh 11444 C:\cygwin\bin\sh.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000,
reserve_size 258048, allocsize 262144, page_const 4096
10532501 [main] sh 10172 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
3 [main] sh 8728 C:\cygwin\bin\sh.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000,
reserve_size 258048, allocsize 262144, page_const 4096
18305408 [main] sh 10172 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
3 [main] sh 9872 C:\cygwin\bin\sh.exe: *** fatal error -
couldn't allocate heap, Win32 error 487, base 0x850000, top 0x890000,
reserve_size 258048, allocsize 262144, page_const 4096
30064112 [main] sh 10172 fork: child -1 - died waiting for longjmp
before initialization, retry 0, exit code 0x100, errno 11
sh: fork: Resource temporarily unavailable
%
perlscript just spawns shells using backticks to run some curl commands.
There are a lot of posts from different times with similar problems. I
already tried rebaseall (and peflagsall). Also, I fiddled with
theheap_chunk_in_mb registry entry. No success so far. I reinstalled
cygwin from scratch -- same problem.
The error comes from perl and make scripts, mostly. Any ideas?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple