From dd1409748b77e7ad732f54e009a774dfdabb26bf Mon Sep 17 00:00:00 2001 From: acolyer Date: Mon, 13 Oct 2003 13:27:42 +0000 Subject: [PATCH] Bumped up max heap size to enable automated release tests to successfully complete. --- lib/ant/bin/ant | 6 ++++-- lib/ant/bin/ant.bat | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/ant/bin/ant b/lib/ant/bin/ant index ce9e4393a..fbe13d7fc 100644 --- a/lib/ant/bin/ant +++ b/lib/ant/bin/ant @@ -189,13 +189,15 @@ if [ -n "$CYGHOME" ]; then JIKESPATH=`cygpath --path --windows "$JIKESPATH"` "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" else - "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" + # AspectJ change: increase max heap size + "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" fi else if [ -n "$JIKESPATH" ]; then "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Djikes.class.path="$JIKESPATH" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" else - "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" + # AspectJ change: increase max heap size + "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@" fi fi diff --git a/lib/ant/bin/ant.bat b/lib/ant/bin/ant.bat index 8213aa1aa..108dd5268 100644 --- a/lib/ant/bin/ant.bat +++ b/lib/ant/bin/ant.bat @@ -79,7 +79,8 @@ echo. if not "%JIKESPATH%"=="" goto runAntWithJikes :runAnt -"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" %ANT_OPTS% org.apache.tools.ant.Main %* +REM aspectJ increased max heap size for test purposes. +"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" -Xmx768M %ANT_OPTS% org.apache.tools.ant.Main %* goto end :runAntWithJikes -- 2.39.5