6 Replies Latest reply on Nov 10, 2017 6:23 AM by jaikiran pai

    Wildfly 10 Consumes a lot of Memory

    Ali Hopyar Newbie

      I deploy 4 different war in a clustered environment on Wildfly 10 and Wildfly consumes a lot of memory.

       

       

      My configuration on standalone.conf is;

       

       

          ...

          JAVA_OPTS="-Xms256m -Xmx1400m -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=320m -Djava.net.preferIPv4Stack=true"

          ...

       

       

      After Wildfly started, it takes 1.7 GB of memory and it increases to 1.8 GB in a short time.

       

       

      Why Wildfly starts with using so much memory?

       

       

      What is the reason of this and how can I prevent from this situation.