1 Reply Latest reply on Sep 19, 2018 5:04 AM by Abhinav Gupta

    Memory Consumption Wildfly 10

    Alvaro Scheid Newbie

      Hello there,

       

      We have an application running with javaopts:

      -XX:MaxMetaspaceSize=512m -Xms17408m -Xmx17408m -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true  -Dprojuris.sys.env=production -javaagent:/opt/wildfly/newrelic/newrelic.jar -XX:+UseG1GC -XX:+UseStringDeduplication -XX:HeapDumpPath=/data/documentos/heapdump -server

       

      The wildfly management dashboard shows that I'm using:

      But grafana shows the container running Wildfly is using:

      Nel_wildfly.1

      18.010 GB

       

      From the documents I read, the memory of the jvm is controlled both by -Xms -Xmx for heap and MaxMetaSpace for the permgen. Can anyone help me explaining where does this memory usage difference come from?

      Thank you very much!