ld: fatal error - cmalloc would have returned NULL

Dave Korn dave.korn.cygwin@gmail.com
Fri Mar 18 06:08:00 GMT 2011


On 11/03/2011 13:53, Rainer Emrich wrote:

> I have to be more clear. I increased the heap_chunk_in_mb to 1792 using:
> regtool -i set /HKLM/Software/Cygwin/heap_chunk_in_mb 1792

  I run with this setting all the time, I guess that's why I haven't seen this
problem.  Before I did that (couple of years back) I also used to get crashes
building libjava.

  (I'm sure there is an underlying inefficiency in ld's memory usage, and I
suspect it might relate to comdat handling, 4.6 generating way more of them
than earlier 4.x versions.)

    cheers,
      DaveK


--
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



More information about the Cygwin mailing list