Qpid
  1. Qpid
  2. QPID-3561

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.12
    • Fix Version/s: 0.13
    • Component/s: Java Broker
    • 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.

        Activity

        Hide
        Robbie Gemmell added a comment -

        Buffer reduced to 1K by default.

        Show
        Robbie Gemmell added a comment - Buffer reduced to 1K by default.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development