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

an excessively large buffer is used by default when persisting the 0-10 message metadata

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.13
    • Component/s: Broker-J
    • Labels:
      None

      Description

      An excessively large buffer is used by default when persisting the 0-10 message metadata, making every message have a 65K buffer even if the metadata is tiny. The objects holding this buffer are SoftReferenced so it is possible for the broker to conintune without an OOME occuring, but the artifically large buffer results in the heap being filled more quickly than necessary and will lead to increased GC activity.The encoder is able to grow its buffer if necessary so we should default to a smaller buffer, say 1K.

        Attachments

          Activity

            People

            • Assignee:
              gemmellr Robbie Gemmell
              Reporter:
              gemmellr Robbie Gemmell
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: