ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Bredel <>
Subject increase heap size
Date Sat, 14 Jun 2008 16:23:17 GMT

I receive a Java Heap space error when
executing the Deploy task from the

Referring to Environment Variables at

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?




To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message