delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/30/22:44:30

X-Spam-Check-By: sourceware.org
From: "Dan Stratila" <dstrat AT MIT DOT EDU>
To: "'Gerrit P. Haase'" <gerrit AT familiehaase DOT de>
Cc: <cygwin AT cygwin DOT com>
Subject: RE: gcc crash (memory?)
Date: Fri, 30 Dec 2005 22:43:57 -0500
Message-ID: <001801c60dbc$6e1aca20$43055f12@somerville>
MIME-Version: 1.0
In-Reply-To: <105831618454.20051231042745@familiehaase.de>
X-Spam-Score: -1.215
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

> -----Original Message-----
> From: Gerrit P. Haase [gerrit at familiehaase dot de] 
> Sent: Friday, December 30, 2005 10:28 PM
> To: Dan Stratila
> Cc: cygwin AT cygwin DOT com
> Subject: Re: gcc crash (memory?)

> > It turns out (a part of) the problem was that malloc and 
> new allocate twice
> > the amount of memory requested (see the thread "malloc/new 
> allocate twice as
> > much?"). Installing the latest snapshot solves this 
> problem, and I am now
> > able to compile polymake with g++ taking at most ~600MB. 
> (It took 1.5GB on
> > Red Hat Enterprise Linux 4, but I guess that's because that 
> machine is
> > 64-bit.)

> Interesting, so the next Cygwin release will always use only the half
> amount of memory than before, sounds nice ;)  Glad to hear about this.

I don't know about this. ;) The behavior of g++ itself has not changed so
dramatically---previously it would crash when taking 560MB, but now it
allocates over 600MB, and finished compiling. My guess is that not all
memory calls work the same, or perhaps multiple bugs have been fixed since
the last snapshot... 

Dan



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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