[
https://issues.jboss.org/browse/WFWIP-225?page=com.atlassian.jira.plugin....
]
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/contai...
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-EAP...
doesn't have it.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)