This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Installing libgcj consumes huge amounts of memory
- From: Ian Lance Taylor <ian at airs dot com>
- To: Gerald Pfeifer <gerald at pfeifer dot com>
- Cc: gcc at gcc dot gnu dot org, java at gcc dot gnu dot org
- Date: 04 Dec 2005 10:00:00 -0800
- Subject: Re: Installing libgcj consumes huge amounts of memory
- References: <Pine.BSF.4.62.0512032346530.61895@pulcherrima.dbai.tuwien.ac.at>
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