Skip to content

Commit

Permalink
3.x: Replace deprecated VM memory flags in docs for building containe…
Browse files Browse the repository at this point in the history
…r images (#9480) (#9483)
  • Loading branch information
Captain1653 authored Nov 12, 2024
1 parent 9eb2e2e commit c77ad79
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guides/jib.adoc
Original file line number Diff line number Diff line change
@@ -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.
Expand Down 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 c77ad79

Please sign in to comment.