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]

Re: Installing libgcj consumes huge amounts of memory


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


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