activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChicagoBob123 <b...@bobfx.com>
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
-Dorg.apache.activemq.UseDedicatedTaskRunner=true
-Djava.util.logging.config.file=logging.properties

change it to this.

if "%ACTIVEMQ_OPTS%" == "" set ACTIVEMQ_OPTS=-Xmx512M -Xss160k
-Dorg.apache.activemq.UseDedicatedTaskRunner=false
-Djava.util.logging.config.file=logging.properties

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: http://activemq.2283324.n4.nabble.com/ActiveMQ-REST-producer-Still-leaking-tp2543765p2543765.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message