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 Dec 2, 2024
1 parent 9950a05 commit 44dc4f7
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 12 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
2 changes: 1 addition & 1 deletion testsuite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@


<!-- Common surefire properties. -->
<surefire.memory.args>-Xmx512m -XX:MetaspaceSize=128m</surefire.memory.args>
<surefire.memory.args>-Xmx512m</surefire.memory.args>
<surefire.jpda.args></surefire.jpda.args>
<as.debug.port>8787</as.debug.port>
<surefire.jvm.args>${surefire.memory.args} ${modular.jdk.args} ${modular.jdk.props} -Djboss.dist=${jboss.dist} ${surefire.jacoco.args} -Djava.io.tmpdir=${project.build.directory}</surefire.jvm.args>
Expand Down

0 comments on commit 44dc4f7

Please sign in to comment.