X-Recipient: archive-cygwin@delorie.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 <dave.korn.cygwin@gmail.com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: ld: fatal error - cmalloc would have returned NULL
References: <4D7A2951.1030002@emrich-ebersheim.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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

