configure memory for forked java

Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/a40df3ab
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/a40df3ab
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/a40df3ab

Branch: refs/heads/master
Commit: a40df3ab833b237c8c6a9234c3c5093503f46781
Parents: 87952bd
Author: olivier lamy <[email protected]>
Authored: Fri Dec 14 14:51:09 2012 +0100
Committer: olivier lamy <[email protected]>
Committed: Fri Dec 14 14:51:09 2012 +0100

----------------------------------------------------------------------
 build.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/a40df3ab/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index 4bbbec9..14628b2 100644
--- a/build.xml
+++ b/build.xml
@@ -247,8 +247,9 @@ Do you want to continue?</input>
   </target>
 
   <target name="maven-compile" depends="compile-boot,process-classes" 
description="compiles Maven using the bootstrap Maven, skipping automated 
tests">
-    <java fork="true" classname="org.apache.maven.cli.MavenCli" 
failonerror="true" timeout="600000" maxmemory="512m">
+    <java fork="true" classname="org.apache.maven.cli.MavenCli" 
failonerror="true" timeout="600000"> <!-- maxmemory="512m"> -->
       <!--jvmarg line="-Xdebug -Xnoagent -Djava.compiler=NONE 
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"/-->
+      <jvmarg value="-Xmx512m -Xms512m"/>
       <classpath refid="maven.classpath" />
       <arg value="${maven.debug}" />
       <arg value="-B" />

Reply via email to