Uploaded image for project: 'WildFly WIP'
  1. WildFly WIP
  2. WFWIP-393

Unexpectedly low MaxMetaspace in image eap74-openjdk11-openshift-rhel8:CLOUD-3930

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • OpenShift
    • None
    • Undefined

      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.

        1. log.txt
          31 kB
        2. log (2).txt
          35 kB
        3. WFWIP-393.log
          0.7 kB

              Unassigned Unassigned
              rhn-support-vsalbaba Vojtěch Šalbaba
              Vojtěch Šalbaba Vojtěch Šalbaba
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: