summaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-01-31 11:43:54 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2018-01-31 11:43:54 +0100
commit53a7b08889e77e8bb4157031850eee86b44a3f00 (patch)
tree871b8a824c429ef57ecdb4278f2fd40c41020873 /vespaclient-java
parent67409053e645081e32a0e4f7f8f88ea1c3c53997 (diff)
Specify explicit gc parameters and gc verbosity.
Diffstat (limited to 'vespaclient-java')
-rwxr-xr-xvespaclient-java/src/main/sh/vespa-destination.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/vespaclient-java/src/main/sh/vespa-destination.sh b/vespaclient-java/src/main/sh/vespa-destination.sh
index 829427b50ad..3c08b458d4f 100755
--- a/vespaclient-java/src/main/sh/vespa-destination.sh
+++ b/vespaclient-java/src/main/sh/vespa-destination.sh
@@ -62,6 +62,8 @@ export MALLOC_ARENA_MAX=1 #Does not need fast allocation
exec java \
-server -enableassertions \
-XX:ThreadStackSize=512 \
+-verbose:gc \
+-Xms4g -Xmx4g -XX:NewRatio=1
-Djava.library.path=${VESPA_HOME}/libexec64/native:${VESPA_HOME}/lib64 \
-XX:MaxDirectMemorySize=32m -Djava.awt.headless=true $(getJavaOptionsIPV46) \
-cp ${VESPA_HOME}/lib/jars/vespaclient-java-jar-with-dependencies.jar:$CLASSPATH com.yahoo.dummyreceiver.DummyReceiver "$@"