Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


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

  Switch to side-by-side view

--- a/trunk/eXist/bin/run.bat
+++ b/trunk/eXist/bin/run.bat
@@ -1,6 +1,6 @@
 @echo off
-rem $Id: run.bat 17597 2012-11-15 09:58:05Z shabanovd $
+rem $Id: run.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).
@@ -50,8 +50,11 @@
 goto :eof
+set MX=768
 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" %CMD_LINE_ARGS%