You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Clifford Jansen (Jira)" <ji...@apache.org> on 2019/10/04 07:10:00 UTC

[jira] [Created] (PROTON-2116) Memory leak in python client

Clifford Jansen created PROTON-2116:
---------------------------------------

             Summary: Memory leak in python client
                 Key: PROTON-2116
                 URL: https://issues.apache.org/jira/browse/PROTON-2116
             Project: Qpid Proton
          Issue Type: Bug
          Components: python-binding
    Affects Versions: proton-c-0.29.0
            Reporter: Clifford Jansen
            Assignee: Clifford Jansen
         Attachments: leak.py

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.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org