This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: ld: fatal error - cmalloc would have returned NULL
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 18 Mar 2011 05:47:04 +0000
- Subject: Re: ld: fatal error - cmalloc would have returned NULL
- References: <4D7A2951.1030002@emrich-ebersheim.de>
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