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: Tom Tromey <tromey at redhat 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: 13 Dec 2005 11:41:40 -0700
- Subject: Re: Installing libgcj consumes huge amounts of memory
- References: <Pine.BSF.4.62.0512032346530.61895@pulcherrima.dbai.tuwien.ac.at>
- Reply-to: tromey at redhat dot com
>>>>> "Gerald" == Gerald Pfeifer <gerald@pfeifer.com> writes:
Gerald> Is anyone seeing this? With current 4.1 sources, on a machine
Gerald> with "only" 1GB of main memory + 1GB swap, the following part
Gerald> of `make install`
[...]
Gerald> spawns a recursive make (GNU make 3.80) that consumes some
Gerald> 450MB of memory and triggers a system load of 12+, basically
Gerald> rendering the machine dead for about a minute.
Gerald> Any ideas how I could nail this down? Anyone else seeing this?
First, yeah, this is known. And, kudos to HJ for trying to fix this
in 'make'.
I've been considering working around this problem by just redoing the
whole .java->.class step whenever any .java file changes. That would
probably be slower for libgcj developers but at least wouldn't hugely
hurt folks working elsewhere. Also, most class library development
happens in Classpath these days anyway.
Any comments on this?
Tom