diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2018-10-19 11:19:38 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2018-10-24 13:58:20 +0200 |
commit | 383fa40b584607eaaae818a6b8bb99919ae2848f (patch) | |
tree | 2754d580a74a9fe9312c637aa4e85d0d206a9d30 /vespaclient-java/src | |
parent | e5b337271399f21ac1c5ca35b2c622a60f706ff6 (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/src')
-rwxr-xr-x | vespaclient-java/src/main/sh/vespa-destination.sh | 2 |
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 "$@" |