doublefox1981 wrote:
i test my application, but found the c++ broker memory increase all the time.

and in my client show that:

2009-apr-17 11:22:02 warning Exception received from broker: 
resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on 
client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , 
policy: size: max=104857600, current=104848052; count: unlimited; 
type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90) [caused by 2748379 \x00:\x00]
terminate called after throwing an instance of 
'qpid::framing::ResourceLimitExceededException'
  what():  resource-limit-exceeded: resource-limit-exceeded: Policy exceeded on 
client199cf78d1-16d46-14f9c-1b597-113272b5a1a9b by message 1895 of size 55358 , 
policy: size: max=104857600, current=104848052; count: unlimited; 
type=flow_to_disk (qpid/broker/QueuePolicy.cpp:90)

This means that you are enqueing faster than you are dequeing, the queue is growing continually and eventually reaches the default size limit.

You can change the size limit, but perhaps there is something not working in the application. Are all messages that are sent being received and acknowledged?

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to