X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4D82F1D8.1020608@gmail.com> Date: Fri, 18 Mar 2011 05:47:04 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: ld: fatal error - cmalloc would have returned NULL References: <4D7A2951 DOT 1030002 AT emrich-ebersheim DOT de> In-Reply-To: <4D7A2951.1030002@emrich-ebersheim.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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