Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 2002 03:45:16 +1030
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Lutz Bichler <Lutz.Bichler@UniBw-Muenchen.de>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: java compilation problem
Message-ID:  <20021116034516.C25296@misty.eyesbeyond.com>
In-Reply-To: <200211151622.30595.Lutz.Bichler@unibw-muenchen.de>; from Lutz.Bichler@UniBw-Muenchen.de on Fri, Nov 15, 2002 at 04:22:30PM %2B0100
References:  <200211151622.30595.Lutz.Bichler@unibw-muenchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 15, 2002 at 04:22:30PM +0100, Lutz Bichler wrote:
> Hi,
> 
> while trying to compile a java project i get the following error on FreeBSD
> (jdk1.3.1 with green-thread and no hotspot as well as jdk1.4.0)
>    [javac] The system is out of resources.
>     [javac] Consult the following stack trace for details.
> 
>     [javac] java.lang.OutOfMemoryError
>     [javac]     at java.util.zip.ZipFile.open(Native Method)
>     [javac]     at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>     [javac]     at java.util.zip.ZipFile.<init>(ZipFile.java:72)
>     [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java:914)
>     [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1121)
>     [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1242)
>     [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1264)
>     [javac]     at 
> com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:980)
> 
> My system has 1GB RAM and i played around with -Xms.. -Xmx... -Xss... values 
> without success. The same project compiles on Linux without problems. Any 
> idea whats wrong?

So...how much memory was the process using at the time?  That is, do you
think the error is bogus or do you think there is a memory problem?

-- 
Greg Lewis                          Email   : glewis@eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021116034516.C25296>