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

BlockingConnection leaks due to cyclical reference

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • proton-0.10
    • proton-0.11.0
    • python-binding
    • None

    Description

      E.g. (whether or not a server is listening):

      while True:
        sleep(0.1)
        try:
          conn = BlockingConnection("amqp://localhost")
        except ConnectionException, e:
          print e
      

      This keeps increasing memory until eventually it core dumps.

      Attachments

        Activity

          People

            gsim Gordon Sim
            gsim Gordon Sim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: