try to make more swap space.
I had the same problem.
On Wed, 17 Jun 1998, Richard Hall wrote:
> I've just begun using JDK1.1.6 on my Debian 2.0.29 machine, and the
> compiler often, but not always claims to be out of memory. top says:
>
> Mem: 14324K av, 14020K used, 304K free, 8732K shrd, 92K buff
> Swap: 32252K av, 17908K used, 14344K free 3616K cached
>
> The compiler has bailed with close to 1M of RAM free. The only things
> running while this is happening besides a few xterms are X, Netscape, and
> XEmacs. Do I need to add more swap or what?
>
> Richard Hall
> Network Services
> University of Tennessee
>