diff --git a/docs/src/main/asciidoc/guides/jib.adoc b/docs/src/main/asciidoc/guides/jib.adoc index eb9ba05790f..022031c4bdc 100644 --- a/docs/src/main/asciidoc/guides/jib.adoc +++ b/docs/src/main/asciidoc/guides/jib.adoc @@ -72,9 +72,9 @@ Add the following plugin declaration to your pom.xml: -Djava.awt.headless=true -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap - -XX:InitialRAMFraction=2 - -XX:MinRAMFraction=2 - -XX:MaxRAMFraction=2 + -XX:InitialRAMPercentage=50 + -XX:MinRAMPercentage=50 + -XX:MaxRAMPercentage=50 -XX:+UseG1GC ${mainClass}