Re: Installing libgcj consumes huge amounts of memory

2005-12-13 Thread Paolo Bonzini
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

Re: Installing libgcj consumes huge amounts of memory

2005-12-13 Thread Andrew Haley
Tom Tromey writes: > > "Gerald" == Gerald Pfeifer <[EMAIL PROTECTED]> 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 recursi

Re: Installing libgcj consumes huge amounts of memory

2005-12-13 Thread David Daney
Tom Tromey wrote: "Gerald" == Gerald Pfeifer <[EMAIL PROTECTED]> 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)

Re: Installing libgcj consumes huge amounts of memory

2005-12-13 Thread Jeffrey A Law
On Tue, 2005-12-13 at 11:41 -0700, Tom Tromey wrote: > First, yeah, this is known. And, kudos to HJ for trying to fix this > in 'make'. If nothing else, HJ's hack is keeping things from being too insane while y'all sort out the best fix. > I've been considering working around this problem by ju

Re: Installing libgcj consumes huge amounts of memory

2005-12-13 Thread Tom Tromey
> "Gerald" == Gerald Pfeifer <[EMAIL PROTECTED]> 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 so

Re: Installing libgcj consumes huge amounts of memory

2005-12-12 Thread Andrew Haley
Mark Wielaard writes: > Hi Gerald, > > On Mon, 2005-12-12 at 00:21 +0100, Gerald Pfeifer wrote: > > On Sun, 4 Dec 2005, Mark Wielaard wrote: > > >> 2005-09-21 Mark Wielaard <[EMAIL PROTECTED]> > > >> > > >> * lib/split-for-gcj.sh: Cut list to 3 package levels deep. > > > I rever

Re: Installing libgcj consumes huge amounts of memory

2005-12-12 Thread Mark Wielaard
Hi Gerald, On Mon, 2005-12-12 at 00:21 +0100, Gerald Pfeifer wrote: > On Sun, 4 Dec 2005, Mark Wielaard wrote: > >> 2005-09-21 Mark Wielaard <[EMAIL PROTECTED]> > >> > >> * lib/split-for-gcj.sh: Cut list to 3 package levels deep. > > I reversed this (patch attached) and now my build wit

Re: Installing libgcj consumes huge amounts of memory

2005-12-11 Thread Gerald Pfeifer
On Sun, 4 Dec 2005, Mark Wielaard wrote: >> 2005-09-21 Mark Wielaard <[EMAIL PROTECTED]> >> >> * lib/split-for-gcj.sh: Cut list to 3 package levels deep. > I reversed this (patch attached) and now my build with ulimit -v45 > passes. But the total virtual memory usage didn't drop that

Re: Installing libgcj consumes huge amounts of memory

2005-12-04 Thread Ian Lance Taylor
Gerald Pfeifer <[EMAIL PROTECTED]> 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

Re: Installing libgcj consumes huge amounts of memory

2005-12-04 Thread Mark Wielaard
On Sun, 2005-12-04 at 11:48 +0100, Mark Wielaard wrote: > This might be caused by my patch to reduce compile time in classpath. I > know I tested memory use back then, but this might have only been with > respect to the gcj invocations. I'll try reversing this patch and retest > later today or tomo

Re: Installing libgcj consumes huge amounts of memory

2005-12-04 Thread Alan Modra
On Sun, Dec 04, 2005 at 11:45:21AM +, Andrew Haley wrote: > Alan Modra writes: > > On Sun, Dec 04, 2005 at 12:35:31AM +0100, Gerald Pfeifer wrote: > > > spawns a recursive make (GNU make 3.80) that consumes some 450MB of > memory > > > and triggers a system load of 12+, basically rendering

Re: Installing libgcj consumes huge amounts of memory

2005-12-04 Thread Andrew Haley
Alan Modra writes: > On Sun, Dec 04, 2005 at 12:35:31AM +0100, Gerald Pfeifer wrote: > > 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. > > > > On a different mac

Re: Installing libgcj consumes huge amounts of memory

2005-12-04 Thread Mark Wielaard
Hi Gerald, On Sun, 2005-12-04 at 00:35 +0100, Gerald Pfeifer wrote: > 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'. >

Re: Installing libgcj consumes huge amounts of memory

2005-12-03 Thread Alan Modra
On Sun, Dec 04, 2005 at 12:35:31AM +0100, Gerald Pfeifer wrote: > 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. > > On a different machine with only 512MB + 1GB swap, this

Installing libgcj consumes huge amounts of memory

2005-12-03 Thread Gerald Pfeifer
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-120