You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Gordon Sim (JIRA)" <ji...@apache.org> on 2015/10/21 21:25:27 UTC
[jira] [Updated] (PROTON-1028) BlockingConnection leaks due to
cyclical reference
[ 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)