ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@bost.de>
Subject Re: passing additional memory argument to target javac
Date Fri, 08 Sep 2000 06:51:21 GMT
>>>>> "HL" == Hung Le <hle@comergent.com> writes:

 HL> 	One of our <javac> target failed because the compiler throws
 HL> an OutOfMemory exception.

Ant doesn't invoke javac externally but in the same VM Ant is
running. This means that you want to invoke Ant itself with the
appropriate memory settings.

Set the environment variable ANT_OPTS to include the -mx or -Xmx
parameter and the ant wrapper script will do this automatically for
you.

Stefan

Mime
View raw message