Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

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

  Switch to side-by-side view

--- a/trunk/eXist/bin/client.bat
+++ b/trunk/eXist/bin/client.bat
@@ -1,5 +1,5 @@
 @echo off
-rem $Id: client.bat 17597 2012-11-15 09:58:05Z shabanovd $
+rem $Id: client.bat 17619 2012-11-18 13:37:45Z wolfgang_m $
 rem
 rem In addition to the other parameter options for the interactive client 
 rem pass -j or --jmx to enable JMX agent.  The port for it can be specified 
@@ -43,8 +43,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%"
 
 set BATCH.D="%EXIST_HOME%\bin\batch.d"
 call %BATCH.D%\get_opts.bat %*