Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-2030

How to change Xmx settings for AMQ 7.1 on OpenShift ?

XMLWordPrintable

    • AMQ Broker 1845

      The Xmx settings are hardcoded, and we can't override it:

      jboss        1     0  0 15:41 ?        00:01:02 /usr/lib/jvm/java-1.8.0/bin/java -Djava.net.preferIPv4Stack=true -Xms256m -Xmx1024m -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError -XX:+PrintClassHistogram -XX:+UseG1GC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx2G -Dhawtio.realm=activemq -Dhawtio.offline=true -Dhawtio.role=admin -Dhawtio.rolePrincipalClasses=org.apache.activemq.artemis.spi.core.security.jaas.RolePrincipal -Djolokia.policyLocation=file:/home/jboss/broker//etc/jolokia-access.xml -Djon.id=amq -Xbootclasspath/a:/opt/amq/lib/jboss-logmanager-2.0.7.Final-redhat-1.jar -Djava.security.auth.login.config=/home/jboss/broker/etc/login.config -classpath /opt/amq/lib/artemis-boot.jar -Dartemis.home=/opt/amq -Dartemis.instance=/home/jboss/broker -Djava.library.path=/opt/amq/bin/lib/linux-x86_64 -Djava.io.tmpdir=/home/jboss/broker/tmp -Ddata.dir=/home/jboss/broker/data -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dlogging.configuration=file:/home/jboss/broker//etc/logging.properties org.apache.activemq.artemis.boot.Artemis run
      

            rhn-support-rkieley Roderick Kieley
            rhn-support-aboucham Abel Bouchama
            Roman Vais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified