[kaffe] kjc out of memory

Gustavo Guillermo Perez gustavo at compunauta.com
Mon Sep 13 23:56:38 PDT 2004


> Riccardo wrote:
> > Hey,
> >
> > Is it maybe the compiler bug that sucks up all the available memory ?
> > When it still worked I always could could compile the class library. The
> > box has 96MB of ram and probably about the same swap. SO it should be
> > enough, IMHO.
>
> Currently building the class library with kjc takes around 210M on my
> ix86-linux-jit3-pthreads-kaffegc box. :(
>
> I haven't tried with boehmgc, though :)
To work around this, you can export / trow NFS, with RW permissions to a 
single destination IP pointing to a biggest computer.

/etc/exports
/ 192.168.1.2(rw,no_root_squash,async)

take care about async, that use buffers, then restart your nfsserver, and 
mount in the host:

mount 192.168.1.1:/ /mnt

then chroot:
chroot /mnt /bin/bash

After that you can go to your sources dir, and build kaffe like if you stay on 
the target.

This is the way I use to.
To speed up the process, I use more than 700MB of RAM
Cheers

-- 
-------
Gustavo Guillermo Perez
Compunauta uLinux
www.userver.tk





More information about the kaffe mailing list