Installing libgcj consumes huge amounts of memory

Ian Lance Taylor ian@airs.com
Sun Dec 4 18:00:00 GMT 2005


Gerald Pfeifer <gerald@pfeifer.com> writes:

> Is anyone seeing this?  With current 4.1 sources, on a machine with "only" 
> 1GB of main memory + 1GB swap, the following part of `make install`
> 
>  Adding java source files from srcdir '/cvs/gcc/trunk/libjava/classpath'.
>  Adding java source files from VM directory /cvs/gcc/trunk/libjava /tmp/OBJ-1203-1719/i686-pc-linux-gnu/libjava
>  Adding generated files in builddir '..'.
>  make -f /cvs/gcc/trunk/libjava/classpath/lib/Makefile.gcj \
>   GCJ='/tmp/OBJ-1203-1719/gcc/gcj \
>   -B/tmp/OBJ-1203-1719/i686-pc-linux-gnu/libjava/ \
>   -B/tmp/OBJ-1203-1719/gcc/' \
>   compile_classpath='..:/cvs/gcc/trunk/libjava:/tmp/OBJ-1203-1719/i686-pc-linux-gnu/libjava:/cvs/gcc/trunk/libjava/classpath:/cvs/gcc/trunk/libjava/classpath/external/w3c_dom:/cvs/gcc/trunk/libjava/classpath/external/sax:.:' 
> \
>   top_srcdir=/cvs/gcc/trunk/libjava/classpath
> 
> spawns a recursive make (GNU make 3.80) that consumes some 450MB of memory 
> and triggers a system load of 12+, basically rendering the machine dead 
> for about a minute.

At first glance looks like a variant of PR 24154.

Ian



More information about the Java mailing list