Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 55070 invoked from network); 25 Aug 2006 07:30:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Aug 2006 07:30:21 -0000 Received: (qmail 51142 invoked by uid 500); 25 Aug 2006 07:30:16 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 51103 invoked by uid 500); 25 Aug 2006 07:30:16 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 51092 invoked by uid 99); 25 Aug 2006 07:30:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 00:30:16 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of david.corley@ericsson.com designates 193.180.251.60 as permitted sender) Received: from [193.180.251.60] (HELO mailgw3.ericsson.se) (193.180.251.60) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Aug 2006 00:30:15 -0700 Received: from esealmw127.eemea.ericsson.se (unknown [153.88.254.122]) by mailgw3.ericsson.se (Symantec Mail Security) with ESMTP id 85DD54F009D for ; Fri, 25 Aug 2006 09:29:53 +0200 (CEST) Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Aug 2006 09:29:52 +0200 Received: from esealmw111.eemea.ericsson.se ([130.100.184.156]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Fri, 25 Aug 2006 09:29:52 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: OutOfMemoryError when building on x64 Date: Fri, 25 Aug 2006 09:29:51 +0200 Message-ID: <3A1FE9C02EBFEB4E9FE0F7D2AEBBEDE3B804EF@esealmw111> In-Reply-To: <5975872.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: OutOfMemoryError when building on x64 Thread-Index: AcbH5DkWS6rvkuc7QTuFskQTacV6hQAM9U6g From: "David Corley \(AT/LMI\)" To: "Ant Users List" X-OriginalArrivalTime: 25 Aug 2006 07:29:52.0578 (UTC) FILETIME=[413ACA20:01C6C818] X-Brightmail-Tracker: AAAAAA== X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You should set the -Xms -Xmx properties for your JVM. They control the minimum and maximum heap size the JVM is allowed to use. There's plenty of documentation for these two switches online.=20 -----Original Message----- From: lfleal [mailto:lewis.leal@gmail.com]=20 Sent: 25 August 2006 03:17 To: user@ant.apache.org Subject: OutOfMemoryError when building on x64 I have bulds that work fine in 32 bit environments (with Java 1.5), but will not work in a x64 environment. I am using Ant 1.6.5 and Java 1.5 06. Any ideas? Buildfile: build\build.xml init: [taskdef] Could not load definitions from resource checkstyletask.properties. It could not be found. clean: [delete] Deleting directory D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b uild\stage makeClasses: [mkdir] Created dir: D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b uild\stage [javac] Compiling 2370 source files to D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b uild\stage [javac] Exception in thread "main" java.lang.OutOfMemoryError: Java heap space BUILD FAILED D:\automated_builds\continuum-1.0.3\apps\continuum\working-directory\1\b uild\build.xml:117: Compile failed; see the compiler error output for details. Total time: 23 seconds =20 -- View this message in context: http://www.nabble.com/OutOfMemoryError-when-building-on-x64-tf2162231.ht ml#a5975872 Sent from the Ant - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org