{"action":"created","issue":{"url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/441","repository_url":"https://api.github.com/repos/zzzeek/sqlalchemy","labels_url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/441/comments","events_url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/441/events","html_url":"https://github.com/zzzeek/sqlalchemy/pull/441","id":317621206,"number":441,"title":"Fix reference leak in compiled cache","user":{"login":"ogrisel","id":89061,"avatar_url":"https://avatars0.githubusercontent.com/u/89061?v=4","gravatar_id":"","url":"https://api.github.com/users/ogrisel","html_url":"https://github.com/ogrisel","followers_url":"https://api.github.com/users/ogrisel/followers","following_url":"https://api.github.com/users/ogrisel/following{/other_user}","gists_url":"https://api.github.com/users/ogrisel/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrisel/subscriptions","organizations_url":"https://api.github.com/users/ogrisel/orgs","repos_url":"https://api.github.com/users/ogrisel/repos","events_url":"https://api.github.com/users/ogrisel/events{/privacy}","received_events_url":"https://api.github.com/users/ogrisel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-04-25T13:10:01Z","updated_at":"2018-04-26T06:40:20Z","closed_at":"2018-04-25T13:54:03Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/zzzeek/sqlalchemy/pulls/441","html_url":"https://github.com/zzzeek/sqlalchemy/pull/441","diff_url":"https://github.com/zzzeek/sqlalchemy/pull/441.diff","patch_url":"https://github.com/zzzeek/sqlalchemy/pull/441.patch"},"body":"On Python 3, the `dict_keys` used as attribute in the compiled cache entries holds a reference to the full parameter dict, therefore preventing the timely garbage collection of large parameter values (for instance a large binary object).\r\n\r\nForcing a list copy of the keys (parameter names) fixes the issue.\r\n\r\nThis PR includes a non-regression test."},"comment":{"url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/comments/384530403","html_url":"https://github.com/zzzeek/sqlalchemy/pull/441#issuecomment-384530403","issue_url":"https://api.github.com/repos/zzzeek/sqlalchemy/issues/441","id":384530403,"user":{"login":"ogrisel","id":89061,"avatar_url":"https://avatars0.githubusercontent.com/u/89061?v=4","gravatar_id":"","url":"https://api.github.com/users/ogrisel","html_url":"https://github.com/ogrisel","followers_url":"https://api.github.com/users/ogrisel/followers","following_url":"https://api.github.com/users/ogrisel/following{/other_user}","gists_url":"https://api.github.com/users/ogrisel/gists{/gist_id}","starred_url":"https://api.github.com/users/ogrisel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ogrisel/subscriptions","organizations_url":"https://api.github.com/users/ogrisel/orgs","repos_url":"https://api.github.com/users/ogrisel/repos","events_url":"https://api.github.com/users/ogrisel/events{/privacy}","received_events_url":"https://api.github.com/users/ogrisel/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T06:40:20Z","updated_at":"2018-04-26T06:40:20Z","author_association":"CONTRIBUTOR","body":"Thanks @zzzeek for taking the time to make the test pass on CI."}}
{"actor":{"display_login":"ogrisel"}}