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

[Java Broker] [AMQP0-10] References to messages sent by $virtualhostProperties node retained by store

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • qpid-java-broker-7.0.0
    • qpid-java-broker-7.0.0
    • Broker-J
    • 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).

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: