Installing libgcj consumes huge amounts of memory
Sun Dec 4 11:45:00 GMT 2005
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 machine with only 512MB + 1GB swap, this time running
> > FreeBSD 5.3, I cannot install GCC any longer.
> I noticed something similar on a Linux machine with 512M + 1G swap when
> remaking libjava after editing some files. Thrashing for around 15
> minutes before finally proceeding.
This might be make or the disastrously slow split-for-gcj shell
script. However, I was a little reluctant to check in my patch at
that replaces a shell script with an Awk program, because at lest
shell scripts are portable everywhere. Even on a fast machine
(Athlon64 3200+) this patch shaves a minute from the build time.
More information about the Java