From owner-freebsd-java Fri Nov 15 12:33: 9 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9F0237B401 for ; Fri, 15 Nov 2002 12:33:07 -0800 (PST) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A4643E4A for ; Fri, 15 Nov 2002 12:33:05 -0800 (PST) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id gAFNaVqj068113; Fri, 15 Nov 2002 23:36:31 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id gAFKcFbg009385; Fri, 15 Nov 2002 22:38:15 +0200 (EET) (envelope-from ml) Date: Fri, 15 Nov 2002 22:38:15 +0200 From: Alexey Zelkin To: Lutz Bichler Cc: freebsd-java@FreeBSD.ORG Subject: Re: java compilation problem Message-ID: <20021115223815.B9312@phantom.cris.net> References: <200211151622.30595.Lutz.Bichler@unibw-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 +0100 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hmm... What exactly you are building ? At that stage problem is appearing ? Do you have ulimits set ? I have built jdk14 w/o any problems at Celeron with 128 mb (it took very long, but it worked) 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.(ZipFile.java:112) > [javac] at java.util.zip.ZipFile.(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? > > Lutz > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message