ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject RE: Xms memory limit problem
Date Wed, 12 Sep 2007 14:00:43 GMT
 

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


Mime
View raw message