java-dev

[Prev] Thread [Next]  |  [Prev] Date [Next]

Again -J-Xms48m -J-Xmx128m etc Pierre Stadelmann Tue Jun 23 00:00:32 2009

Thanks for your comment....

I tried, but failed. Something's strange:

here is the man pages of javac:

-Joption
             Pass option to the java launcher called by javac.
For  example,
             -J-Xms48m  sets  the startup memory to 48 megabytes.


here is part of my build.xml file

<target name="compile" depends="init" description="Compile code">
                <mkdir dir="${bin}"/>
                <javac       deprecation="on"
                srcdir="${src}"
                destdir="${bin}"
                source="1.5"
                target="1.5"
                includeAntRuntime="no"
                classpathref="lib.path"
                debug="${compile.debug}">
                <compilerarg value="-J-Xms48m"/>
                </javac>
        </target>

Please tell me what is wrong!
-----------------------------------------------------------------------------------------------------
Pierre Stadelmann
CIME-EPFL
Station 12
CH-1015 Lausanne
Switzerland
Tel: +41216932976
-----------------------------------------------------------------------------------------------------
E-mail: [EMAIL PROTECTED]
-----------------------------------------------------------------------------------------------------
http://cimewww.epfl.ch/people/stadelmann
-----------------------------------------------------------------------------------------------------
http://cimewww.epfl.ch/people/stadelmann/jemsSE/jemsSEv3_3526u2008.htm
http://cimewww.epfl.ch/people/stadelmann/jemswebsite/jems.html
http://cimewww.epfl.ch/people/stadelmann/jemsFeatures/jemsInfo.htm
-----------------------------------------------------------------------------------------------------

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      ([EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/alexiscircle%40gmail.com

This email sent to [EMAIL PROTECTED]