Browse files

Updated OG-Examples startup scripts with -Xms512M and -Xmx1024M, OG-B…

…loombergExample script with -Xms768M and -Xmx1280M,

and all database population scripts with -Xms512M and -Xmx1024M.
  • Loading branch information...
1 parent 7836150 commit 64cde4adca1d90efec1aa9573e645f1ce2508e85 Kevin Vella committed Apr 10, 2012
View
2 projects/OG-BloombergExample/scripts/componentserver-init-utils.sh
@@ -46,7 +46,7 @@ load_component_config() {
PIDFILE=${PIDFILE:-${_COMPONENT}.pid}
LOGFILE=${LOGFILE:-${_COMPONENT}-console.log}
- MEM_OPTS=${MEM_OPTS:--Xms4096m -Xmx4096m -XX:MaxPermSize=256m}
+ MEM_OPTS=${MEM_OPTS:--Xms768m -Xmx1280m -XX:MaxPermSize=256m}
GC_OPTS=${GC_OPTS:--XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing}
EXTRA_JVM_OPTS=${EXTRA_JVM_OPTS:-""}
LOGBACK_CONFIG=${LOGBACK_CONFIG:-engine-logback.xml}
View
2 projects/OG-BloombergExample/scripts/init-og-bloombergexample-db.bat
@@ -40,7 +40,7 @@ set CLASSPATH=og-bloombergexample.jar;lib\*;config
FOR /R lib %%a IN (*.zip) DO set CLASSPATH=!CLASSPATH!;%%a
"%JAVACMD%" -cp "%CLASSPATH%" ^
- -Xms1024M ^
+ -Xms512M ^
-Xmx1024M ^
com.opengamma.bloombergexample.tool.ExampleDatabasePopulator ^
-l tofile-logback.xml ^
View
4 projects/OG-BloombergExample/scripts/init-og-bloombergexample-db.sh
@@ -50,8 +50,8 @@ $JAVA -cp "$CLASSPATH" \
echo "### Adding Bloomberg example data"
$JAVA -cp "$CLASSPATH" \
- -Xms1024M \
- -Xmx4096M \
+ -Xms512M \
+ -Xmx1024M \
com.opengamma.bloombergexample.tool.ExampleDatabasePopulator \
-l tofile-logback.xml \
-c classpath:toolcontext/bloombergexample-bin.properties
View
2 projects/OG-BloombergExample/scripts/og-bloombergexample.bat
@@ -42,7 +42,7 @@ GOTO :exit
:start
"%JAVACMD%" ^
- -Xms1024m -Xmx3072m -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC ^
+ -Xms768m -Xmx1280m -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC ^
-XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing ^
-Dlogback.configurationFile=%LOGBACK_CONFIG% ^
-Dcommandmonitor.secret=OpenGamma ^
View
2 projects/OG-Examples/scripts/componentserver-init-utils.sh
@@ -46,7 +46,7 @@ load_component_config() {
PIDFILE=${PIDFILE:-${_COMPONENT}.pid}
LOGFILE=${LOGFILE:-${_COMPONENT}-console.log}
- MEM_OPTS=${MEM_OPTS:--Xms4096m -Xmx4096m -XX:MaxPermSize=256m}
+ MEM_OPTS=${MEM_OPTS:--Xms512m -Xmx1024m -XX:MaxPermSize=256m}
GC_OPTS=${GC_OPTS:--XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing}
EXTRA_JVM_OPTS=${EXTRA_JVM_OPTS:-""}
LOGBACK_CONFIG=${LOGBACK_CONFIG:-engine-logback.xml}
View
6 projects/OG-Examples/scripts/init-og-examples-db-reflect.sh
@@ -26,8 +26,8 @@ done
echo "### Creating empty database"
$JAVA -cp "$CLASSPATH" \
- -Xms1024M \
- -Xmx4096M \
+ -Xms512M \
+ -Xmx1024M \
-Dlogback.configurationFile=jetty-logback.xml \
com.opengamma.util.examples.MainRunner \
-n 3 \
@@ -36,4 +36,4 @@ $JAVA -cp "$CLASSPATH" \
-class1 com.opengamma.util.test.DbTool \
-arg1 "-jdbcUrl jdbc:hsqldb:file:temp/hsqldb/og-fin-user -database og-financial -user OpenGamma -password OpenGamma -drop true -create true -createtables true -dbscriptbasedir ." \
-class2 com.opengamma.examples.tool.ExampleDatabasePopulator
-echo "### Completed"
+echo "### Completed"
View
2 projects/OG-Examples/scripts/init-og-examples-db.bat
@@ -42,7 +42,7 @@ set CLASSPATH=og-examples.jar;lib\*;config
FOR /R lib %%a IN (*.zip) DO set CLASSPATH=!CLASSPATH!;%%a
"%JAVACMD%" -cp "%CLASSPATH%" ^
- -Xms1024M ^
+ -Xms512M ^
-Xmx1024M ^
-Dlogback.configurationFile=jetty-logback.xml ^
com.opengamma.examples.tool.ExampleDatabasePopulator
View
4 projects/OG-Examples/scripts/init-og-examples-db.sh
@@ -52,8 +52,8 @@ $JAVA -cp "$CLASSPATH" \
echo "### Adding example data"
$JAVA -cp "$CLASSPATH" \
- -Xms1024M \
- -Xmx4096M \
+ -Xms512M \
+ -Xmx1024M \
-Dlogback.configurationFile=jetty-logback.xml \
com.opengamma.examples.tool.ExampleDatabasePopulator
View
2 projects/OG-Examples/scripts/og-examples.bat
@@ -43,7 +43,7 @@ GOTO :exit
:start
"%JAVACMD%" ^
- -Xms1024m -Xmx3072m -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC ^
+ -Xms512m -Xmx1024m -XX:MaxPermSize=256M -XX:+UseConcMarkSweepGC ^
-XX:+CMSIncrementalMode -XX:+CMSIncrementalPacing ^
-Dlogback.configurationFile=%LOGBACK_CONFIG% ^
-Dcommandmonitor.secret=OpenGamma ^

0 comments on commit 64cde4a

Please sign in to comment.