summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authoracolyer <acolyer>2003-10-13 13:27:42 +0000
committeracolyer <acolyer>2003-10-13 13:27:42 +0000
commitdd1409748b77e7ad732f54e009a774dfdabb26bf (patch)
tree693d448fbd63288e97916d42ed702723127565cc /lib
parent235decb1defc1a9049a821a69587f3c37f5935dd (diff)
downloadaspectj-dd1409748b77e7ad732f54e009a774dfdabb26bf.tar.gz
aspectj-dd1409748b77e7ad732f54e009a774dfdabb26bf.zip
Bumped up max heap size to enable automated release tests to
successfully complete.
Diffstat (limited to 'lib')
-rw-r--r--lib/ant/bin/ant6
-rw-r--r--lib/ant/bin/ant.bat3
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