Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7272

[Java Broker] Direct memory QpidByteBuffer created in message conversion modules should be disposed as soon as possible after becoming unused

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: qpid-java-6.0
    • Fix Version/s: qpid-java-broker-7.0.0
    • Component/s: Broker-J
    • Labels:
      None

      Description

      Direct memory QpidByteBuffer in MessageConverter_to_1_0#convertServerMessage(...) is not disposed programmatically. We rely on GC to release it from memory when it became unused. There is a risk that when such QpidByteBuffers are not "garbage collected" soon enough Broker might run out of direct memory on heavy loads.

      Currently a user who relies heavily of message conversion with high rates of message flow, may see an OOM direct.

        Attachments

          Activity

            People

            • Assignee:
              k-wall Keith Wall
              Reporter:
              alex.rufous Alex Rudyy
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: