Broker OutOfMemory Error handling
---------------------------------

                 Key: QPID-396
                 URL: https://issues.apache.org/jira/browse/QPID-396
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Martin Ritchie
             Fix For: M2


When the broker runs out of memory the response to the client can be 
unpredicatable. 

If this is something that you believe may occur currently the best thing to do 
is to ensure that you are not hammering the broker with data. A slight pause 
between message sending should allow the broker time to throw the OutOfMemory 
Error during the handling of one of the methods rather than at the mina level 
when receiving the data. 

This should allow the broker to write a ConnectionClose frame back to the 
client. We could signal here that we are out of memory and stop listening for 
new connectons that will cause further OoM Errors.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to