From b3f5f0a91a51cc1367d5f016b0cb79f47e344850 Mon Sep 17 00:00:00 2001 From: Frank Maritato Date: Mon, 10 Aug 2009 22:01:48 +0000 Subject: [PATCH] added JAVA_OPTS git-svn-id: https://lwes.svn.sourceforge.net/svnroot/lwes/lwes-journaller-java/trunk@166 a2f82657-cdd2-4550-bd36-68a8e7111808 --- src/bin/lwes-journaller | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/lwes-journaller b/src/bin/lwes-journaller index d1589e0..8423c0e 100755 --- a/src/bin/lwes-journaller +++ b/src/bin/lwes-journaller @@ -1,5 +1,7 @@ #!/bin/bash +JAVA_OPTS=${JAVA_OPTS:-"-XX:+UseParallelGC -Xms512m -Xmx512m -ea -server"} + ## # Startup script for the java journaller. ## @@ -15,6 +17,7 @@ done CP=${CP}:config $JAVA_HOME/bin/java \ +$JAVA_OPTS \ -Dlog4j.configuration=log4j.xml \ -classpath $CP \ org.lwes.journaller.Journaller $@ & -- 2.11.4.GIT