I did an experiment below(one producer and one consumer): producer:constantly send text message whose size is 1k consumer:block it when it receive a message,so that the subsequent message cannot deliver to it (debugging) in no time,the activeMQ console log displayed the message below,as is expected:temp usage (0%) or memory usage (100%) limit reached, blocking message add() pending the release of resources.
but when I went to see the PendingQueueSize,whose value is 5.But I thought it should be 10(memoryUsage / size_per_message) or so in my case. would any one please explain the exact meaning of memoryUsage parameter? Any clue will be appreciated. activemq.xml ... " producerFlowControl="true" memoryLimit="1mb"> ... --set small just to test ... -- View this message in context: http://activemq.2283324.n4.nabble.com/what-s-the-relation-between-memoryUsage-and-PendingQueueSize-tp3342989p3342989.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.