Skip to content

Commit

Permalink
WFCORE-7050 - Remove MetaspaceSize settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro-hos committed Nov 28, 2024
1 parent 9950a05 commit b2f3f5b
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fi
# Specify options to pass to the Java VM.
#
if [ "x$JBOSS_JAVA_SIZING" = "x" ]; then
JBOSS_JAVA_SIZING="-Xms64m -Xmx512m -XX:MetaspaceSize=96M"
JBOSS_JAVA_SIZING="-Xms64m -Xmx512m"
fi
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="$JBOSS_JAVA_SIZING -Djava.net.preferIPv4Stack=true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ rem #

if "x%JBOSS_JAVA_SIZING%" == "x" (
rem # JVM memory allocation pool parameters - modify as appropriate.
set "JBOSS_JAVA_SIZING=-Xms64M -Xmx512M -XX:MetaspaceSize=96M"
set "JBOSS_JAVA_SIZING=-Xms64M -Xmx512M"
)
set "JAVA_OPTS=%JBOSS_JAVA_SIZING%"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ if (-Not $JAVA_OPTS) {
$JAVA_OPTS = @()

if (-Not(test-path env:JBOSS_JAVA_SIZING)) {
$env:JBOSS_JAVA_SIZING = "-Xms64M -Xmx512M -XX:MetaspaceSize=96M"
$env:JBOSS_JAVA_SIZING = "-Xms64M -Xmx512M"
}
$JAVA_OPTS += String-To-Array($env:JBOSS_JAVA_SIZING)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
<param name="heap-size" value="64m"/>
<param name="max-heap-size" value="256m"/>
<param name="environment-variables" value="{MALLOC_ARENA_MAX=1}"/>
<param name="jvm-options" value="[&quot;-server&quot;,&quot;-XX:MetaspaceSize=96m&quot;]"/>
<param name="jvm-options" value="[&quot;-server&quot;]"/>
</feature>
</feature-group-spec>
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
<heap size="64m" max-size="200m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
<heap size="64m" max-size="200m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<heap size="64m" max-size="256m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
<heap size="64m" max-size="256m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
<heap size="64m" max-size="128m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
<heap size="64m" max-size="256m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
<heap size="64m" max-size="256m"/>
<jvm-options>
<option value="-server"/>
<option value="-XX:MetaspaceSize=96m"/>
</jvm-options>
</jvm>
</jvms>
Expand Down

0 comments on commit b2f3f5b

Please sign in to comment.