ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Wood" <ew...@llbean.com>
Subject forked javac task runs out of memory
Date Thu, 22 Jan 2004 20:22:16 GMT
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


Mime
View raw message