]> source.dussan.org Git - aspectj.git/commitdiff
Bumped up max heap size to enable automated release tests to
authoracolyer <acolyer>
Mon, 13 Oct 2003 13:27:42 +0000 (13:27 +0000)
committeracolyer <acolyer>
Mon, 13 Oct 2003 13:27:42 +0000 (13:27 +0000)
successfully complete.

lib/ant/bin/ant
lib/ant/bin/ant.bat

index ce9e4393aa3a172b7b7946ced929863dcfd03b8d..fbe13d7fcfbfea5f04032e1c7e09848bc11fb3f5 100644 (file)
@@ -189,13 +189,15 @@ if [ -n "$CYGHOME" ]; then
     JIKESPATH=`cygpath --path --windows "$JIKESPATH"`\r
     "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
   else\r
-    "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
+    # AspectJ change: increase max heap size\r
+    "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
   fi\r
 else\r
   if [ -n "$JIKESPATH" ]; then\r
     "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
   else\r
-    "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
+    # AspectJ change: increase max heap size\r
+    "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"\r
   fi\r
 fi\r
 \r
index 8213aa1aa3034e4c9215d004c6c7b7dce76dcecd..108dd526867ccfc648d4cff5a0ecf44bc13b80c9 100644 (file)
@@ -79,7 +79,8 @@ echo.
 if not "%JIKESPATH%"=="" goto runAntWithJikes\r
 \r
 :runAnt\r
-"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %*\r
+REM aspectJ increased max heap size for test purposes.\r
+"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" -Xmx768M %ANT_OPTS% org.apache.tools.ant.Main %*\r
 goto end\r
 \r
 :runAntWithJikes\r