activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ChicagoBob123 <>
Subject Re: ActiveMQ REST producer Causes Out Of MemoryError
Date Fri, 17 Sep 2010 01:27:57 GMT

I have found part of a fix but it really doesnt fix everything. 
Here it is. 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. 

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message