[
https://issues.apache.org/jira/browse/QPID-3561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robbie Gemmell resolved QPID-3561.
----------------------------------
Resolution: Fixed
Buffer reduced to 1K by default.
> an excessively large buffer is used by default when persisting the 0-10
> message metadata
> ----------------------------------------------------------------------------------------
>
> Key: QPID-3561
> URL: https://issues.apache.org/jira/browse/QPID-3561
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.12
> Reporter: Robbie Gemmell
> Assignee: Robbie Gemmell
> Fix For: 0.13
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]