This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Failure to build libjava on 512MB machine
Tom Tromey writes:
> >>>>> "Andrew" == Andrew Haley <aph@redhat.com> writes:
>
> Andrew> Anyway, I tried again, this time with the right file, and it took
> Andrew> 78.67user 1.29system 1:20.01elapsed 99%CPU (0avgtext+0avgdata 0maxresident)k
> Andrew> and indeed, it does want a lot of memory - at peak some 550m. It'll
> Andrew> be smaller on a 32-bit box, but not much smaller.
>
> I suppose with some awful build hacking we could split this .o into
> multiple parts. I'm fine with the situation as it is, myself, but I
> will do this if the consensus is that we should.
I'd want a bit more information. There's no reason that a 512M box
couldn't cope with a 550M process. Sure, it'll be slow, but it should
still work, and this is an extreme case. If there is to be a maximum
process size during building, we need to make a sane decision about
what that size should be.
Andrew.