Keith Wall created QPID-7753:
--------------------------------

             Summary: Sparsely occupied message buffers may lead to 
java.lang.OutOfMemoryError: Direct buffer memory
                 Key: QPID-7753
                 URL: https://issues.apache.org/jira/browse/QPID-7753
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: qpid-java-6.1, qpid-java-6.0
            Reporter: Keith Wall


Some Broker usage patterns can lead to the Broker failing with a 
"java.lang.OutOfMemoryError: Direct buffer memory" error.

For the condition to manifest a producing application needs to use a single 
connection for the production of messages. Some messages need to be consumed 
quickly whilst others remain on the Broker. This pattern might result from:

# the consuming application using message selectors to selectively consume some 
messages whilst leaving others on the Broker.
# the use of 'out of order' queue types (priority/sorted etc) where lower 
priority items are left of the Broker.
# the producing application routing messages to multiple queues and the 
consuming application draining some queues but not others.

The problem arises owing to the buffering strategy under the IO layer.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to