[ 
https://issues.apache.org/jira/browse/PROTON-1028?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Gordon Sim updated PROTON-1028:
-------------------------------
    Description: 
E.g.  (whether or not a server is listening):

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

This keeps increasing memory until eventually it core dumps.

  was:
E.g.  assuming there is nothing listening on port 12345, run the following:

{noformat}
while True:
  sleep(0.1)
  try:
    conn = BlockingConnection("amqp://localhost:12345", heartbeat=2)
  except ConnectionException, e:
    print e
{noformat}

        Summary: BlockingConnection leaks due to cyclical reference  (was: 
connect failue when creating BlockingConnection result in memory leak)

> BlockingConnection leaks due to cyclical reference
> --------------------------------------------------
>
>                 Key: PROTON-1028
>                 URL: https://issues.apache.org/jira/browse/PROTON-1028
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: python-binding
>    Affects Versions: 0.10
>            Reporter: Gordon Sim
>            Assignee: Gordon Sim
>             Fix For: 0.11
>
>
> E.g.  (whether or not a server is listening):
> {noformat}
> while True:
>   sleep(0.1)
>   try:
>     conn = BlockingConnection("amqp://localhost")
>   except ConnectionException, e:
>     print e
> {noformat}
> This keeps increasing memory until eventually it core dumps.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to