delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/03/18/06:24:43

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 18 Mar 2011 11:23:55 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ld: fatal error - cmalloc would have returned NULL
Message-ID: <20110318102355.GA20048@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <4D7A2951 DOT 1030002 AT emrich-ebersheim DOT de> <4D82F1D8 DOT 1020608 AT gmail DOT com> <20110318060821 DOT GB15594 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20110318060821.GB15594@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 Mar 18 02:08, Christopher Faylor wrote:
> On Fri, Mar 18, 2011 at 05:47:04AM +0000, Dave Korn wrote:
> >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.
> 
> That setting should have nothing to do with cmalloc().  cmalloc is for
> Cygwin's internal heap which has nothing to do with that setting.
> 
> Didn't Corinna already mention this?

In this case the bigger heap seems to avoid the aggressive use of small
mmap chunks which in turn disallows to raise the cygheap size.  Without
analyzing the whole situation there's not much else to say or do.  This
is YA case which screams loudly for a testcase...


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019