You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Mitja B." <in...@mitjab.com> on 2007/09/12 14:59:17 UTC
Xms memory limit problem
I want to use Xms to minimum heap size but i do not know how to use it in
ant.
This does not work
<javac -Xms=512m srcdir="${view.dir}/${src.dir}"
destdir="${view.dir}/${src.dir}" classpathref="class.path"/>
--
L.P.
Mitja B.
________________________________________________
Message sent using UebiMiau 2.7.10
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
RE: Xms memory limit problem
Posted by "Rebhan, Gilbert" <Gi...@huk-coburg.de>.
Hi,
-----Original Message-----
From: Mitja B. [mailto:info@mitjab.com]
Sent: Wednesday, September 12, 2007 2:59 PM
To: user@ant.apache.org
Subject: Xms memory limit problem
/*
I want to use Xms to minimum heap size but i do not know how to use it
in
ant.
This does not work
<javac -Xms=512m srcdir="${view.dir}/${src.dir}"
destdir="${view.dir}/${src.dir}" classpathref="class.path"/>
--
L.P.
Mitja B.
*/
Xmx and Xms are set via attributes, i.e.
<presetdef name="jcompile">
<javac fork="true"
executable="${java.jdk.base}/${java.compile.version}/bin/javac.exe"
memorymaximumsize="1024M"
failonerror="true"
includes="**\*.java"
includeJavaRuntime="no"
includeAntRuntime="yes"
/>
</presetdef>
see AntManual
Regards, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org