2 Replies Latest reply on Jun 15, 2016 11:25 AM by Wolf-Dieter Fink

    JVM Heap size settings

    kalyan korupolu Newbie

      Hi All,


      If i want to define JVM settings where environment is having 3 server groups each server group consists of 3 servers  what is the best method to define JVM heap size.


      And iam using standalonefull-ha profile i need to define heapsize in standalone.conf ?

      or any method is there?





      With Regards,


        • 1. Re: JVM Heap size settings
          Miroslav Novak Master

          It seems that you want to start servers in domain mode. Where you will define 3 server groups with 3 server each.


          This can be configured in domain.xml for each server group in:


                  <server-group name="main-server-group" profile="full">
                      <jvm name="default">
                          <heap size="1000m" max-size="1000m"/>
                      <socket-binding-group ref="full-sockets"/>


          Or in host.xml if you need to set it up for each server in server group.

          • 2. Re: JVM Heap size settings
            Wolf-Dieter Fink Master

            As Miroslav mentioned you are able to define jvm settings in different places.

            The are inherited; domain-default - host-default - server-group - server.

            So for each you can add or modify the settings. I recommend to use the server group if you cluster servers. Because each server should be able to perform similar otherwise it will be complicated to adjust load-balancing.


            For the standalone mode you need to modify standalone.conf as these settings are needed for the JVM startup, so the xml config will be too late