Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
qpid-java-broker-7.0.0
-
None
Description
On the 0-10 path, I notice that references to messages created by the ${virtualhostProperties} node are being retained internally within the store. This is leaking approximately ~1024 bytes per connection. Restarting the Broker or recycling the virtualhost frees the memory.
The reference are being retained by the AbstractXXXMessageStore#_messages set.
QPID-7783 added the _messages data structure. It was back ported to 6.0 and 6.1, so the leak might be present there too. I have not verified this. (updated 2017/10/06 does not affect 6.1 or 6.0. The MessageInstanceConsumerPair, which is no longer on master, unconditionally took a reference, so a reference was already taken).