summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ant/bin/ant4
-rw-r--r--lib/ant/bin/ant.bat2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/ant/bin/ant b/lib/ant/bin/ant
index fbe13d7fc..6b32c478f 100644
--- a/lib/ant/bin/ant
+++ b/lib/ant/bin/ant
@@ -190,14 +190,14 @@ if [ -n "$CYGHOME" ]; then
"$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
# 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 "$@"
+ "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Dcygwin.user.home="$CYGHOME" -Xmx1024M $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
# AspectJ change: increase max heap size
- "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Xmx768M $ANT_OPTS org.apache.tools.ant.Main $ANT_ARGS "$@"
+ "$JAVACMD" -classpath "$LOCALCLASSPATH" -Dant.home="${ANT_HOME}" -Xmx1024M $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 108dd5268..265d60d42 100644
--- a/lib/ant/bin/ant.bat
+++ b/lib/ant/bin/ant.bat
@@ -80,7 +80,7 @@ if not "%JIKESPATH%"=="" goto runAntWithJikes
:runAnt
REM aspectJ increased max heap size for test purposes.
-"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" -Xmx768M %ANT_OPTS% org.apache.tools.ant.Main %*
+"%_JAVACMD%" -classpath "%LOCALCLASSPATH%" "-Dant.home=%ANT_HOME%" -Xmx1024M %ANT_OPTS% org.apache.tools.ant.Main %*
goto end
:runAntWithJikes