www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 30 Dec 2005 18:50:07 +0100 |
From: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
Reply-To: | "Gerrit P. Haase" <gerrit AT familiehaase DOT de> |
Message-ID: | <113796959497.20051230185007@familiehaase.de> |
To: | "Dan Stratila" <dstrat AT MIT DOT EDU> |
CC: | cygwin AT cygwin DOT com |
Subject: | Re: gcc crash (memory?) |
In-Reply-To: | <000601c60d17$22137ff0$43055f12@somerville> |
References: | <000601c60d17$22137ff0$43055f12 AT somerville> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
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 |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |