Hi:

When I tested our product wtih ActiveMQ 5.11.1, we observed a high memory
usage spike in a ActiveMQ broker process.

This broker has 9G memory configured. It's using memoryCursor to cache
messages. But for each Queue it has a memory limit for 200M. 

Then we observed a high memory usage spike during our test. Having got a
heapdump from this broker. We saw 5.89G live content. But 5.62G is consumed
by a single java class called *org.apache.activemq.usage.MemoryUsage*.
Having looked inside, there is a callbacks List in this class which has 220
million object.

This MemoryUsage instance is monitoring a Queue which has less than 200MB
content.  Does anyone know why this MemoyUsage has such many object in the
callbacks List and consumed such a huge amount of memory?

Thanks!
-Yang



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/org-apache-activemq-usage-MemoryUsage-consumes-95-of-the-memory-tp4701250.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to