Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 20028 invoked from network); 16 Jun 2008 01:14:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Jun 2008 01:14:11 -0000 Received: (qmail 6622 invoked by uid 500); 16 Jun 2008 01:14:10 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6587 invoked by uid 500); 16 Jun 2008 01:14:10 -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 31025 invoked by uid 99); 14 Jun 2008 14:23:48 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of henningbredel@googlemail.com designates 72.14.220.156 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:to:subject:date:user-agent :mime-version:content-type:content-transfer-encoding :content-disposition:message-id:from:sender; bh=YR6FOjwD8JnpDamL+kXWO2D7UHuR4zEWiWrLV3h6U7k=; b=XNPSFwBEnSZW1Aml/fTgxboUcdSzXK0X+AQL702T9OrPizK0X3SpmtZG/6FuV8bnkx 0zhEwn5K4T8S4Db47ACkRb01dvXmN7O2EMTc/ZpfHKaapVxoUWqEZv6O1Yp2Io0uktYn vnvn3F72k8Qt/nZcw6K1GNeDVEfqEFyHKALEE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:content-disposition:message-id:from :sender; b=SqTOxPK5k+FlO3cp1+xWfoYdzrCeHM2SGoSein5mHu3IeSvP39pTAmA2J0hyJELcsx hpsU2Ug/vrhe2dvTRl8lbN9LAVY1+c/JgxE8pxpX4zPqVpXWEESY6381UF8q/zTTus0g YeAxxDm4zsVFgDs2y4Mqpq7aPOIlplilZEhU4= To: user@ant.apache.org Subject: increase heap size Date: Sat, 14 Jun 2008 16:23:17 +0000 User-Agent: KMail/1.9.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806141623.18167.henningbredel@gmail.com> From: Henning Bredel Sender: Henning Bredel X-Virus-Checked: Checked by ClamAV on apache.org hi, I receive a Java Heap space error when executing the Deploy task from the catalina-ant.jar. Referring to Environment Variables at ant.apache.org/manual/running.html it is said "ANT_OPTS - command-line arguments that should be passed to the JVM. For example, you can define system properties or set the maximum Java heap size here." Is there a possibility to increase the Java heap without creating an ~/.antrc (or %HOME%/antrc_{pre,post}.bat)? xmlbeans task solves this with its own attribute 'memoryMaxSize', but I do not want to rewrite the catalina-ant.jar only for that issue. Calling ant via commandline with appropriate arguments would not work for me, since the ant script will be called through an izpack installer [1] How do you solve such a problem? Thanks Henning -- [1] http://izpack.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org