Hello, You need to set ACTIVEMQ_OPTS in activemq.bat with these values to change jvm memory usage.
Check this line in the script : if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config="%ACTIVEMQ_CONF%\login.config" Hassen. Le 29 août 2016 18:14, "enes.caglar" <[email protected]> a écrit : > Hi, > > I am trying to increase JVM max heap size, I set JAVA_OPTS environment > variable and also changed runtime parameters from java control panel. But > activemq still using 1G heap size even if I set it to 12G (-Xms12G > -Xmx12G). > Are there any other settings needs to be configured in activemq config > files > ? > > Thank you. > > cmd>activemq start > > Warning: JAVA_HOME environment variable is not set. > > Java Runtime: Oracle Corporation 1.8.0_101 C:\Program > Files\Java\jre1.8.0_101 > Heap sizes: current=1005056k free=989327k max=1005056k > JVM args: -Dcom.sun.management.jmxremote -Xms1G -Xmx1G > -Djava.util.logging.c > > > > -- > View this message in context: http://activemq.2283324.n4. > nabble.com/How-To-Increase-Heap-Size-tp4715893.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >
