X-Spam-Check-By: sourceware.org Date: Fri, 30 Dec 2005 18:50:07 +0100 From: "Gerrit P. Haase" Reply-To: "Gerrit P. Haase" Message-ID: <113796959497.20051230185007@familiehaase.de> To: "Dan Stratila" 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 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/