This is the mail archive of the
mailing list for the Cygwin project.
1.5.18: couldn't allocate cygwin heap, Win32 error 487 (and I've already done re
- From: "Jeremy Norbury" <jeremy_norbury at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 14 Nov 2005 20:19:09 +0000
- Subject: 1.5.18: couldn't allocate cygwin heap, Win32 error 487 (and I've already done re
I HAVE made it stop; after 4 weeks of similar hell...
I too was suffering from this problem, which started when I installed an
additional 1gb of memory in my laptop. Many "external" commands failed
frequently, "make" rarely worked reliably, even "ls -rtl" occasionally
stopped. I tried the "change the heap chunk size" following the recommended
microsoft fix and had this had no change. I was seeing this (I've copied it
in to make this solution easier to search for) :
C:\cygwin\bin\make.exe (24556): *** couldn't allocate cygwin heap, Win32
error 487, base 0x480000, top 0x48E000, reserve_size 57344, allocsize
57344, page_const 4096
84 [main] make 9072 fork_parent: child 24556 died waiting for longjmp
before initialization make: vfork: No such file or directory
I was reading about "setup" this morning (looking for a way to store the
proxy name and password - which, btw, I still haven't found a solution to)
when I reached this page:
I tried it and, while 1024 didn't work for me, 2048 did! I did this:
regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 2048
And not a single failure since. If I change it back to 1024 or delete it, I
get the problem back.
You have to restart bash etc...to pick this up.
I hope this helps.
Norbury Consulting b.v.
Erick Hagstrom wrote:
Hello all. I've seen quite a few messages in the archives along these
lines but have been unable to make the problem stop.
I CAN start a bash shell with no difficulty. And I can start a pdksh
shell within the bash shell with no difficulty. But when I try to make
my application I end up with this message (although occasionally I get a
Win32 error 87 instead of the 487):
C:\cygwin\bin\pdksh.exe (8028): *** couldn't allocate cygwin heap, Win32
error 487, base 0x480000, top 0x4AD000, reserve_size 184320, allocsize
184320, page_const 4096
5 [main] pdksh 6976 fork_parent: child 8028 died waiting for longjmp
cannot fork - try again
I HAVE successfully accomplished a rebaseall from within an ash shell,
so that's not it.
I have attached my cygcheck output.
Any suggestions? Thanks in advance.
| Jerry Norbury |
| Norbury Consulting bv. |
| Olympus 1, 1186CB Amstelveen |
| The Netherlands |
| Telephone : +31 6515 83145 |
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html