This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Virtual memory Exhaust problem onWin98
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@cygwin.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/