-
Bug
-
Resolution: Done
-
Major
-
AMQ 7.1.0.GA
-
None
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