X-Spam-Check-By: sourceware.org
Date: Fri, 30 Dec 2005 18:50:07 +0100
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
Reply-To: "Gerrit P. Haase" <gerrit@familiehaase.de>
Message-ID: <113796959497.20051230185007@familiehaase.de>
To: "Dan Stratila" <dstrat@MIT.EDU>
CC: cygwin@cygwin.com
Subject: Re: gcc crash (memory?)
In-Reply-To: <000601c60d17$22137ff0$43055f12@somerville>
References: <000601c60d17$22137ff0$43055f12@somerville>
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Dan schrieb:

> Hi Gerrit,

>> Increase the size of your swap file, for me the maximum memory usage
>> compiling this file was not much more than 1 GB.  I have a 2 GB swap
>> file.

> Thanks for your reply. I have a 2GB swap file too (and 768MB RAM), and it
> doesn't seem to help. Moreover, as I mentioned, I was able to allocate 1.7GB
> with a test program, so I don't think it's the actual lack of memory that's
> killing it.

> I also tried to compile this repeatedly, and it always dies in the same spot
> with the same error, so I don't think it's a hardware issue either.

> What version of gcc did you use?

I use gcc 3.4.4.  I have also this famous registry key defined:
In "HKLM\SOFTWARE\Cygnus Solutions\Cygwin" define a DWORD named
heap_chunk_in_mb and set the value to 1024 (decimal) or 400 (hex) or
even more.

This may require a reboot to take affect.


Gerrit
-- 
=^..^=



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

