This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld: fatal error - cmalloc would have returned NULL


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]