Qpid
  1. Qpid
  2. QPID-2694

Memory leak in 0-8/0-9 AMQSessions on channel close

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.5, 0.6, 0.7
    • Fix Version/s: 0.5, 0.6, 0.7
    • Component/s: Java Broker
    • Labels:
      None

      Description

      When closing a 0-8/0-9 AMQSession, the ChannelCloseOk returned by the broker is not handled in the client, leading to a memory leak with AMQProtocolSession objects being left. This is particularly evident with frameworks like Mule which open a session per connection.

        Activity

        Hide
        Andrew Kennedy added a comment -

        Patch is for both 0.5.x branch and trunk code (same changes required).

        Show
        Andrew Kennedy added a comment - Patch is for both 0.5.x branch and trunk code (same changes required).
        Hide
        Marnie McCormack added a comment -

        Reviewed files, changes look ok - applied to branch. Please add a test for this case, thanks.

        Show
        Marnie McCormack added a comment - Reviewed files, changes look ok - applied to branch. Please add a test for this case, thanks.
        Hide
        Marnie McCormack added a comment -

        Discussed on list/with Andrew how we currently test this type of case i.e. protocol handling where a close-ok should cause an object to be cleaned up. No existing model to use, agreed a new JIRA for testing this type of protocol/rules logic best idea. Will now commit to trunk.

        Show
        Marnie McCormack added a comment - Discussed on list/with Andrew how we currently test this type of case i.e. protocol handling where a close-ok should cause an object to be cleaned up. No existing model to use, agreed a new JIRA for testing this type of protocol/rules logic best idea. Will now commit to trunk.
        Hide
        Marnie McCormack added a comment -

        Patches applied

        Show
        Marnie McCormack added a comment - Patches applied

          People

          • Assignee:
            Marnie McCormack
            Reporter:
            Andrew Kennedy
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development