Mail Archives: cygwin/2005/11/14/15:19:27
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:
http://www.cygwin.com/cygwin-ug-net/setup-maxmem.html
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.
Jerry Norbury
Norbury Consulting b.v.
Amsterdam
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):
<error_message>
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
before initialization
rox_pwd: C:/mgc/embedded/bridgepoint/mc3020/bin/rox_init_node[74]:
cannot fork - try again
</error_message>
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 |
| |
+---------------------------------+
http://www.xs4all.nl/~norbury
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -