add a test case to demonstrate the exceeded memory usage percent.

When the memory usage limit of queues is larger than the global/broker
memory usage limit and PFC is disable, the exceeded memory usage percent is
present.I believe this is a unsuitable configuration while the broker keeps
dumb.

The message cursor of queues only checks its own memory usage to see if it
has space regardless of its parent(that's the broker) and if the queue
memory usage limit is far larger than the broker's,the cursor can keep
putting messages into to cache/memory for a long time, that's why the
exceeded memory usage percent happens.I believe this can lead to OOM
eventually if the memory usage limit for queues is X GB.
MemoryUsageBrokerTest.java
<http://activemq.2283324.n4.nabble.com/file/n4665800/MemoryUsageBrokerTest.java>
  



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/What-can-be-reason-of-460-memory-usage-limit-tp4665651p4665800.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to