From owner-freebsd-java Fri Nov 15 9:53:18 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 6BA7B37B401 for ; Fri, 15 Nov 2002 09:53:16 -0800 (PST) Received: from gate1.psi.de (gate1.psi.de [194.115.214.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBCB043E3B for ; Fri, 15 Nov 2002 09:53:14 -0800 (PST) (envelope-from thorsten.greiner@consol.de) Received: from IntServBln1.psi.de (host-006.194.115.213.psi.de [194.115.213.6]) by gate1.psi.de (8.11.3/8.11.3) with ESMTP id gAFFlOb05652; Fri, 15 Nov 2002 16:47:24 +0100 Received: from consol.de (DHCP132.nev.psi.de [192.168.142.132]) by IntServBln1.psi.de (8.12.2/8.9.1) with ESMTP id gAFFlH7d015765; Fri, 15 Nov 2002 16:47:18 +0100 Message-ID: <3DD51705.10603@consol.de> Date: Fri, 15 Nov 2002 16:47:17 +0100 From: Thorsten Greiner User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021023 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: Lutz Bichler Cc: freebsd-java@FreeBSD.ORG Subject: Re: java compilation problem References: <200211151622.30595.Lutz.Bichler@unibw-muenchen.de> X-Enigmail-Version: 0.65.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Lutz, from the output you copied it seems to me you are using ant to compile your project. In ant you can use some options to give the javac compiler more memory, e.g.: Best regards -Thorsten 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