Hi,

I'm using ActiveMQ 4.1.1 on a Linux box, standard configuration plus a
single additional topic.
If I start ActiveMQ, and don't start any subscribers or producers (so no
subscriptions and no messages sent to the topic), and take a look at
JConsole, I see the attached memory usage - every minute heap usage goes
from ~4mb up to ~13mb, then gets garbage collected back down to 4mb.

Is this normal? 9mb seems like quite a lot of memory to be eating up over
the course of a minute when there's no activity at all.

The reason I started looking at this is that with approximately 20
non-durable subscribers, plus 15 producers each sending around 1 message
every couple of seconds, it runs fine for bout 20 mins, then hangs with 100%
memory usage.
I'm going to increase the available memory to the broker, to see whether it
settles down at a max somewhere over 20mb.

Any insight into why ActiveMQ uses so much memory when there's no activity,
and whether there are any config changes I can make to alter this,
gratefully received.

Jim

http://www.nabble.com/file/p11190895/activemq_memory_usage.jpg 
-- 
View this message in context: 
http://www.nabble.com/Memory-Usage-With-No-Subcribers-and-No-Messages-tf3945092s2354.html#a11190895
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to