aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-java
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@oath.com>2018-10-19 11:19:38 +0200
committerBjørn Christian Seime <bjorncs@oath.com>2018-10-19 11:19:38 +0200
commit29d7b53d46aa82fde7118c57c7a7ac146381c131 (patch)
tree14c9292ff1b2fd4733c42d15fe4018df765227ce /vespaclient-java
parent804a99234fac7a809c5cffbb46a4440255252485 (diff)
Setting NewRatio is not recommended for G1
From G1 doc: "Avoid explicitly setting young generation size with the -Xmn option or any or other related option such as -XX:NewRatio. Fixing the size of the young generation overrides the target pause-time goal."
Diffstat (limited to 'vespaclient-java')
-rwxr-xr-xvespaclient-java/src/main/sh/vespa-destination.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient-java/src/main/sh/vespa-destination.sh b/vespaclient-java/src/main/sh/vespa-destination.sh
index 3b11b151727..8ea2d1ca63f 100755
--- a/vespaclient-java/src/main/sh/vespa-destination.sh
+++ b/vespaclient-java/src/main/sh/vespa-destination.sh
@@ -75,7 +75,7 @@ exec java \
-server -enableassertions \
-XX:ThreadStackSize=512 \
-verbose:gc \
--Xms4g -Xmx4g -XX:NewRatio=1 \
+-Xms4g -Xmx4g \
-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 "$@"