Skip to content

Commit

Permalink
4.x: Replace deprecated VM memory flags in docs for building containe…
Browse files Browse the repository at this point in the history
…r images (#8876) (#9479)
  • Loading branch information
Captain1653 authored Nov 8, 2024
1 parent bf5e61f commit 831cc18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/main/asciidoc/guides/jib.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ Add the following plugin declaration to your pom.xml:
<jmxFlag>-Djava.awt.headless=true</jmxFlag>
<jmxFlag>-XX:+UnlockExperimentalVMOptions</jmxFlag>
<jmxFlag>-XX:+UseCGroupMemoryLimitForHeap</jmxFlag>
<jmxFlag>-XX:InitialRAMFraction=2</jmxFlag>
<jmxFlag>-XX:MinRAMFraction=2</jmxFlag>
<jmxFlag>-XX:MaxRAMFraction=2</jmxFlag>
<jmxFlag>-XX:InitialRAMPercentage=50</jmxFlag>
<jmxFlag>-XX:MinRAMPercentage=50</jmxFlag>
<jmxFlag>-XX:MaxRAMPercentage=50</jmxFlag>
<jmxFlag>-XX:+UseG1GC</jmxFlag>
</jvmFlags>
<mainClass>${mainClass}</mainClass>
Expand Down

0 comments on commit 831cc18

Please sign in to comment.