diff --git a/docs/guides/jib.adoc b/docs/guides/jib.adoc index b0158c0a3ac..c8474173651 100644 --- a/docs/guides/jib.adoc +++ b/docs/guides/jib.adoc @@ -1,6 +1,6 @@ /////////////////////////////////////////////////////////////////////////////// - Copyright (c) 2018, 2022 Oracle and/or its affiliates. + Copyright (c) 2018, 2024 Oracle and/or its affiliates. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -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}