This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: jc1 out of memory error gcc 4.2.2 Linux 64-bit OS
- From: Andrew Haley <aph at redhat dot com>
- To: "Harpal Grover" <harpal dot grover at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 14 Jan 2008 10:09:26 +0000
- Subject: Re: jc1 out of memory error gcc 4.2.2 Linux 64-bit OS
- References: <1e76f07c0801131117g36c97bd1o3384f8f4b62d1d33@mail.gmail.com>
Harpal Grover writes:
> Hello all,
>
> I downloaded and built gcc 4.2.2 on my linux box. I have also used the
> sources to build a cross compiler using Ranjit's Matthews guide. The
> build went just fine. I tried to compile my java application and got
> the following error:
>
> c1: out of memory allocating 4064 bytes after a total of 3909824512 bytes
>
> The specs on my laptop are as follows:
> Intel Core 2 Duo
> Suse 10.2 64-bit
> Linux 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64
> x86_64 x86_64 GNU/Linux
> 4 GB Ram
>
> jc1 spiked from 1 gig of memory to close to 4gb, eats up the swap and
> then finally crashes. Is there any additional information you guys
> would like me to provide? If so please feel free to let me know and I
> gladly will.
I want to know what you were trying to compile.
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903