In the image of 7.4.0
docker-registry.upshift.redhat.com/kwills/eap74-openjdk11-openshift-rhel8:CLOUD-3930
we are failing to deploy basic HelloWorld app with error "Terminating due to java.lang.OutOfMemoryError: Metaspace" [log.txt, line 19].
While using eap74-openjdk11-openshift-rhel8:CLOUD-3930, JAVA_OPTS contains
-XX:MaxMetaspaceSize=100m
.
MaxMetaspaceSize was set to 256m in previous image
registry-proxy.engineering.redhat.com/rh-osbs/jboss-eap-7-tech-preview-eap74-openjdk11-openshift-rhel8:7.4.0.Beta
and with this setting, the deployment passes. [log (2).txt]
Seems MaxMetaspaceSize is lower in CLOUD-3930 image and simple apps fail to be deployed with the default settings of XX:MaxMetaspaceSize=100m
Expected:
Default Metaspace is sufficient for basic apps.
- is caused by
-
CLOUD-3930 EAP 7.4.0.GA OpenShift Image Release
- Closed