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 /container-disc/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 'container-disc/src')
-rwxr-xr-x | container-disc/src/main/sh/vespa-start-container-daemon.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-disc/src/main/sh/vespa-start-container-daemon.sh b/container-disc/src/main/sh/vespa-start-container-daemon.sh index d7823aa415d..69c8c03ad4e 100755 --- a/container-disc/src/main/sh/vespa-start-container-daemon.sh +++ b/container-disc/src/main/sh/vespa-start-container-daemon.sh @@ -115,7 +115,7 @@ configure_numactl() { } configure_gcopts() { - consider_fallback jvm_gcopts "-XX:+UseG1GC -XX:MaxTenuringThreshold=15 -XX:NewRatio=1" + consider_fallback jvm_gcopts "-XX:+UseG1GC -XX:MaxTenuringThreshold=15" if [ "$jvm_verbosegc" = "true" ]; then jvm_gcopts="${jvm_gcopts} -verbose:gc" fi |