You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eric Wood <ew...@llbean.com> on 2004/01/22 21:22:16 UTC
forked javac task runs out of memory
I am running a javac task against a 1.2.2 compiler, but it is running out of memory. The javac task documentation says that there is a attribute for setting the Max memory size (memoryMaximumSize), but it says that it is ignored if you are running javac externally.
How do I set increase the memory allocation for the forked JVM?
my task implementation is:
<javac
destdir="${classes.dir}"
srcdir="${java.src.dir}"
debug="off"
fork="yes"
executable="C:\jdk1.2.2\bin\javac"
compiler="javac1.2">
<include name="**/*.java" />
<exclude name="LLB_WISMO_POC/**/*.java" />
<classpath>
<fileset dir="./LLB_SUPPORT">
<include name="**/*.jar"/>
</fileset>
</classpath>
</javac>
</target>
Eric Wood
ewood@llbean.com
207.552.2306
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org