Persistent Message useCache Setting

2016-08-31 Thread enes.caglar
Hi, I set useCache parameter to false for all queues with policyEntry in activemq.xml config file. And if this setting is true persistent messages are cached for fast retrieval from store so if it is false then all persistent messages should be kept in the data store not in memory. I set this ke

Re: How To Increase Heap Size

2016-08-29 Thread enes.caglar
Ok found it in activemq.bat file. There is ACTIVEMQ_OPTS parameter passed to the java during execution. Here need to edit -Xms1G -Xmx1G parameters. if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xms1G -Xmx1G -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config="%ACTI

Failed to page in more queue messages

2016-08-29 Thread enes.caglar
Hi, When I am trying to send byte messages to the queue, i received the following exception. After that point producer was not able to send new messages to the queue. I am sending messages each 20 MB and total 100 messages. Probably it reached to the max memory usage. But messages are persistent m

How To Increase Heap Size

2016-08-29 Thread enes.caglar
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 f