Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 39296 invoked from network); 29 Jul 2004 11:16:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 29 Jul 2004 11:16:57 -0000 Received: (qmail 98517 invoked by uid 500); 29 Jul 2004 11:16:46 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 98475 invoked by uid 500); 29 Jul 2004 11:16:46 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 98461 invoked by uid 99); 29 Jul 2004 11:16:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [194.109.24.31] (HELO smtp-vbr11.xs4all.nl) (194.109.24.31) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 29 Jul 2004 04:16:42 -0700 Received: from [192.168.1.3] (a80-126-53-97.adsl.xs4all.nl [80.126.53.97]) by smtp-vbr11.xs4all.nl (8.12.11/8.12.11) with ESMTP id i6TBGa6v024389 for ; Thu, 29 Jul 2004 13:16:36 +0200 (CEST) (envelope-from rob@robinwyles.com) Mime-Version: 1.0 (Apple Message framework v618) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: users@cocoon.apache.org From: Robin Wyles Subject: out of memory on build Date: Thu, 29 Jul 2004 13:16:35 +0200 X-Mailer: Apple Mail (2.618) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I am receiving out of memory errors when I try and build the release version of Cocoon 2.1.5, details are as follows: OS: Redhat 7.3 RAM: 512mb (approx 400mb free) JDK: 1.4.0_01 I have tried altering the -Xms and -Xmx (lowering -Xmx to be within my free memory) in build.sh, but it makes no difference - I always receive the out of memory error after around 100MB is consumed and always with the following stack trace: --------------------- The system is out of resources. Consult the following stack trace for details. java.lang.OutOfMemoryError at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:112) at java.util.zip.ZipFile.(ZipFile.java:72) at com.sun.tools.javac.v8.code.ClassReader.openArchive(ClassReader.java: 914) at com.sun.tools.javac.v8.code.ClassReader.list(ClassReader.java:1121) at com.sun.tools.javac.v8.code.ClassReader.listAll(ClassReader.java:1242) at com.sun.tools.javac.v8.code.ClassReader.fillIn(ClassReader.java:1260) at com.sun.tools.javac.v8.code.ClassReader.complete(ClassReader.java:980) at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:375) at com.sun.tools.javac.v8.code.Symbol$PackageSymbol.flags(Symbol.java:497) at com.sun.tools.javac.v8.code.Symbol$PackageSymbol.exists(Symbol.java: 508) at com.sun.tools.javac.v8.code.ClassReader.packageExists(ClassReader.java: 1048) at com.sun.tools.javac.v8.comp.Enter$CompleteEnter.complete(Enter.java: 896) at com.sun.tools.javac.v8.code.Symbol.complete(Symbol.java:375) at com.sun.tools.javac.v8.code.Symbol$ClassSymbol.complete(Symbol.java: 697) at com.sun.tools.javac.v8.comp.Enter.main(Enter.java:583) at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java:376) at com.sun.tools.javac.v8.Main.compile(Main.java:526) at com.sun.tools.javac.Main.compile(Main.java:32) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav a:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java: 55) at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:936) at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:758) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) at org.apache.tools.ant.Task.perform(Task.java:364) at org.apache.tools.ant.Target.execute(Target.java:341) at org.apache.tools.ant.Target.performTasks(Target.java:369) at org.apache.tools.ant.Project.executeTarget(Project.java:1214) at org.apache.tools.ant.Project.executeTargets(Project.java:1062) at org.apache.tools.ant.Main.runBuild(Main.java:673) at org.apache.tools.ant.Main.startAnt(Main.java:188) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55) BUILD FAILED /home/trentris/cocoon-2.1.5/tools/targets/compile-build.xml:60: Compile failed; see the compiler error output for details. --------------------- I have a feeling that the problem may be with the JDK, but I am not sure where to start looking... Any ideas of where the problem might lie would be gratefully received! Robin --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org