This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

jc1 out of memory error gcc 4.2.2 Linux 64-bit OS


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.

Thanks in advance!

-- 
Harpal Grover
President
Harpal Grover Consulting Inc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]