Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2116

Memory leak in python client

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-c-0.29.0
    • proton-c-0.30.0
    • python-binding
    • None

    Description

      The Python client leaks transports and selectables. When using the BlockingConnection classes, Containers, Collectors and other runtime class objects can also leak as additional referents.

      To reproduce, run the test case leak.py against the example broker. Kill and restart the broker repeatedly. The value of gc.get_objects() keeps increasing.

      Breaking the circular references between transports and selectables prevents these leaks.

       

      Attachments

        1. leak.py
          1 kB
          Clifford Jansen

        Issue Links

          Activity

            People

              cliffjansen Clifford Jansen
              cliffjansen Clifford Jansen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: