ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Bredel <h.bre...@gmx.de>
Subject increase heap size
Date Sat, 14 Jun 2008 16:23:17 GMT
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


Mime
View raw message