Diff of /trunk/eXist/bin/backup.bat [r17618] .. [r17619] Maximize Restore

  Switch to side-by-side view

--- a/trunk/eXist/bin/backup.bat
+++ b/trunk/eXist/bin/backup.bat
@@ -1,6 +1,6 @@
 @echo off
 
-rem $Id: backup.bat 17597 2012-11-15 09:58:05Z shabanovd $
+rem $Id: backup.bat 17619 2012-11-18 13:37:45Z wolfgang_m $
 
 rem Slurp the command line arguments. This loop allows for an unlimited number
 rem of arguments (up to the command line limit, anyway).
@@ -53,8 +53,11 @@
 goto :eof
 
 :gotExistHome
+set MX=768
+rem @WINDOWS_INSTALLER_3@
+
 set JAVA_ENDORSED_DIRS="%EXIST_HOME%"\lib\endorsed
-set JAVA_OPTS="-Xms128m -Xmx512m -Dfile.encoding=UTF-8 -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS%"
+set JAVA_OPTS="-Xms128m -Xmx%MX%m -Dfile.encoding=UTF-8 -Djava.endorsed.dirs=%JAVA_ENDORSED_DIRS%"
 
 %JAVA_RUN% "%JAVA_OPTS%"  -Dexist.home="%EXIST_HOME%" -jar "%EXIST_HOME%\start.jar" backup %CMD_LINE_ARGS%
 :eof