[jboss-jira] [JBoss JIRA] (WFWIP-225) Environment variable to configure the initial metaspace size - need to update standalone.conf to bring CLOUD-3270 changes
Jan Blizňák (Jira)
issues at jboss.org
Wed Oct 2 07:07:00 EDT 2019
[ https://issues.jboss.org/browse/WFWIP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792109#comment-13792109 ]
Jan Blizňák commented on WFWIP-225:
-----------------------------------
Ok after more precise investigation it seems that we are only missing the export at standalone.conf for GC_METASPACE_SIZE, probably here https://github.com/wildfly/wildfly-cekit-modules/blob/master/jboss/container/wildfly/galleon/fp-content/java/added/src/main/resources/packages/wildfly.s2i.java/content/bin/java-conf.conf
The only effect of it missing there is that XX:MetaspaceSize value is read from JAVA_OPTS where the default value for this is {{JAVA_OPTS="-Xms1303m -Xmx1303m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true"}}. This results at tiny difference:
with {export GC_METASPACE_SIZE=${GC_METASPACE_SIZE:-96}}:
{code:java}
-XX:MetaspaceSize=96m
{code}
without the export:
{code:java}
-XX:MetaspaceSize=96M
{code}
It broke our strict tests but this is not a big issue, just somewhat inconsistency that could be enhanced, lowering to minor priority.
> Environment variable to configure the initial metaspace size - need to update standalone.conf to bring CLOUD-3270 changes
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: WFWIP-225
> URL: https://issues.jboss.org/browse/WFWIP-225
> Project: WildFly WIP
> Issue Type: Bug
> Components: OpenShift
> Reporter: Jan Blizňák
> Assignee: Jean Francois Denise
> Priority: Major
>
> In CLOUD-3270, some changes were made to be able to override jvm metaspace value but current image docker-registry.upshift.redhat.com/kwills/eap-cd-openshift-rhel8:18.0-EAP7-1216 doesn't have it.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list