{"action":"created","issue":{"url":"https://api.github.com/repos/pika/pika/issues/576","labels_url":"https://api.github.com/repos/pika/pika/issues/576/labels{/name}","comments_url":"https://api.github.com/repos/pika/pika/issues/576/comments","events_url":"https://api.github.com/repos/pika/pika/issues/576/events","html_url":"https://github.com/pika/pika/issues/576","id":76957114,"number":576,"title":"Memory leak: BlockingChannel._replies list grows forever","user":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-16T06:12:54Z","updated_at":"2015-05-18T20:03:36Z","closed_at":null,"body":"RPC replies get added to `BlockingChannel._replies`, but never get purged, so it grows perpetually. Here is what it looks like after several calls to basic_publish and confirm_delivery:\r\n\r\n```\r\nIn [130]: ch._replies\r\nOut[130]: \r\n['Confirm.SelectOk',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Confirm.SelectOk',\r\n 'Basic.Ack',\r\n 'Confirm.SelectOk',\r\n 'Basic.Ack',\r\n 'Confirm.SelectOk',\r\n 'Confirm.SelectOk',\r\n 'Confirm.SelectOk',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack',\r\n 'Basic.Ack']\r\n```"},"comment":{"url":"https://api.github.com/repos/pika/pika/issues/comments/103193992","html_url":"https://github.com/pika/pika/issues/576#issuecomment-103193992","issue_url":"https://api.github.com/repos/pika/pika/issues/576","id":103193992,"user":{"login":"vitaly-krugl","id":1441066,"avatar_url":"https://avatars.githubusercontent.com/u/1441066?v=3","gravatar_id":"","url":"https://api.github.com/users/vitaly-krugl","html_url":"https://github.com/vitaly-krugl","followers_url":"https://api.github.com/users/vitaly-krugl/followers","following_url":"https://api.github.com/users/vitaly-krugl/following{/other_user}","gists_url":"https://api.github.com/users/vitaly-krugl/gists{/gist_id}","starred_url":"https://api.github.com/users/vitaly-krugl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitaly-krugl/subscriptions","organizations_url":"https://api.github.com/users/vitaly-krugl/orgs","repos_url":"https://api.github.com/users/vitaly-krugl/repos","events_url":"https://api.github.com/users/vitaly-krugl/events{/privacy}","received_events_url":"https://api.github.com/users/vitaly-krugl/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T20:03:36Z","updated_at":"2015-05-18T20:03:36Z","body":"@gmr, I was using BlockingConnection, which should process data events on its own."}}