[Java Broker] OutOfMemory due to continued reference to ContentHeaderBody on 
Persistent Messages
------------------------------------------------------------------------------------------------

                 Key: QPID-1060
                 URL: https://issues.apache.org/jira/browse/QPID-1060
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
    Affects Versions: M2.1
            Reporter: Rob Godfrey
            Assignee: Rob Godfrey
             Fix For: M3


The fix for QPID-828 had the side effect of retaining the reference to the 
ContentHeaderBody of persistent messages.  This may lead to premature 
OutOfmemoryExceptions.

A "better" fix would be to ensure that the reference is held in memory while 
the prepare/commit is taking place (to fix the original NPE) or just to cache 
the size value on the message itself.

-- 
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