So I did the 'ulimit -Sd unlimited' and the compiler isn't crashing with the out of memory error. However, that CPU that the compiler is running onwas pegged at near 100% for a good 15 minutes!
I waited it out (I'm having lunch so I just surfed the web while I was waiting for my meal <grin>) and it did finally complete and is progressing in the build process. I'll let you know how it ends up but I wanted to thank you for helping me break through this issue. Thanks, Bryan On Mon, Apr 27, 2015 at 11:01 AM, Christos Zoulas <chris...@zoulas.com> wrote: > On Apr 27, 10:44am, br...@bceassociates.com ("Bryan C. Everly") wrote: > -- Subject: Re: Hi - is there a group of people working on OpenJDK 8 for > Open > > | *** HERE IS WHERE I RAN OUT OF IDEAS *** > | While compiling "../generated/adfiles/ad_x86_64_gen.cpp", I got the > | following error: > | > | cc1plus: out of memory allocating 4072 bytes after a total of 110297968 > | bytes > | > | The weird thing is that I had "vmstat -w 1" running in a separate XTerm > | window and free memory was typically around 14 G so I don't really think > I > | ran out of ram in the system. Is there some sort of heap size limitation > | in the C++ compiler that we need to pass a parameter to expand? > > If you are using a bourne shell like shell bump your datasize limit using > 'ulimit -Sd unlimited', if you are using tcsh/csh you can 'unlimit > datasize'. > > 'ulimit -a' in bash shows all the resource limits ('limit' in csh/tcsh). > What's your datasize? > > christos >