Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 21 Dec 2001 10:25:14 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Virtual memory Exhaust problem onWin98 Message-ID: <20011221102514.H21898@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <97AA06615400F34AB695F23CE3D42E91406743 AT sohm DOT kpit DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <97AA06615400F34AB695F23CE3D42E91406743@sohm.kpit.com>; from AratiD@kpit.com on Fri, Dec 21, 2001 at 02:46:08PM +0530 On Fri, Dec 21, 2001 at 02:46:08PM +0530, Arati Dikey wrote: > > > Hi ! > > The sh-elf-gcc built from GCC 3.0.1 gives error "Virtual memory > exhausted : Invalid argument" while compiling any small C program on > Win 98 system. > > The toolchain has been built in cygwin 1.3.2 environment. > > This was tested on two systems with following configurations. > > System1 - Win98 running on Pentium MMX system with 128 MB RAM and 500 MB > free disk space. > System2 - Win98 running on Pentium IV system with 128 MB RAM and 19.5 GB > free disk space. > > The toolchain works fine on WinNT and Win2000. > > Is this problem related to Cygwin or GCC-3.0.1 ? > > Using Cygwin's gdb I found that the error is coming when init_ggc() > function calls > alloc_anon() function and #ifdef HAVE_MMAP_ANON condition is satisfied. > > Any help will be appreciated. Please try the latest Cygwin 1.3.6-6 first. I remember various fixes to the mmap() code. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/