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