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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.12
    • 0.13
    • Broker-J
    • 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

            robbie Robbie Gemmell
            robbie Robbie Gemmell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: