activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChicagoBob123 <>
Subject ActiveMQ REST producer Still leaking.
Date Fri, 17 Sep 2010 11:58:29 GMT

Part the fix was to alter the \ActiveMQ.bat start up file. 
BUT its still leaking. Posting via REST seems to create quite a memory leak. 
The threads seem to have stopped growing at about 33 but memory ever
increases. It would take a few days but it will run out of memory.

By the way I wanted to post this because the information on the net was
quite cryptic and not very explicit.

Open your bin\ActiveMQ\ActiveMQ.bat
Find this line

if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M

change it to this.

if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Xss160k

This should stop the threads from going wild but it does NOT stop the memory
from going out of control but it did SLOW the usage down a lot.  BUT--- the
memory usage is still going UP 80MB in an hour while the q is constantly
being posted to. 
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message