{"action":"closed","number":149,"pull_request":{"url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149","id":130726439,"html_url":"https://github.com/coddingtonbear/django-mailbox/pull/149","diff_url":"https://github.com/coddingtonbear/django-mailbox/pull/149.diff","patch_url":"https://github.com/coddingtonbear/django-mailbox/pull/149.patch","issue_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/149","number":149,"state":"closed","locked":false,"title":"Use generator in Mailbox.get_mail to limit memory leak","user":{"login":"ad-m","id":3618479,"avatar_url":"https://avatars1.githubusercontent.com/u/3618479?v=4","gravatar_id":"","url":"https://api.github.com/users/ad-m","html_url":"https://github.com/ad-m","followers_url":"https://api.github.com/users/ad-m/followers","following_url":"https://api.github.com/users/ad-m/following{/other_user}","gists_url":"https://api.github.com/users/ad-m/gists{/gist_id}","starred_url":"https://api.github.com/users/ad-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ad-m/subscriptions","organizations_url":"https://api.github.com/users/ad-m/orgs","repos_url":"https://api.github.com/users/ad-m/repos","events_url":"https://api.github.com/users/ad-m/events{/privacy}","received_events_url":"https://api.github.com/users/ad-m/received_events","type":"User","site_admin":false},"body":"Hello,\r\n\r\nI see no reason why messages should be collected on the list. This causes huge memory usage. I am importing 15 GB mbox files. You should delete messages as soon as possible (references to them) to reduce memory usage.","created_at":"2017-07-15T19:10:52Z","updated_at":"2018-03-09T18:09:46Z","closed_at":"2018-03-09T18:09:46Z","merged_at":"2018-03-09T18:09:45Z","merge_commit_sha":"2b2bdb982592b8541b529d56de0784deacfb9c42","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149/commits","review_comments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149/comments","review_comment_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/149/comments","statuses_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/statuses/e7e511cbe5b4056f3ffde1aab47c10e98260fa0b","head":{"label":"coddingtonbear:limit-msg-leak","ref":"limit-msg-leak","sha":"e7e511cbe5b4056f3ffde1aab47c10e98260fa0b","user":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars3.githubusercontent.com/u/527661?v=4","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"repo":{"id":4810450,"name":"django-mailbox","full_name":"coddingtonbear/django-mailbox","owner":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars3.githubusercontent.com/u/527661?v=4","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coddingtonbear/django-mailbox","description":"Import mail from POP3, IMAP, local email mailboxes or directly from Postfix or Exim4 into your Django application automatically.","fork":false,"url":"https://api.github.com/repos/coddingtonbear/django-mailbox","forks_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/forks","keys_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/teams","hooks_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/hooks","issue_events_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/events{/number}","events_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/events","assignees_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/assignees{/user}","branches_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/branches{/branch}","tags_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/tags","blobs_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/statuses/{sha}","languages_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/languages","stargazers_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/stargazers","contributors_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/contributors","subscribers_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/subscribers","subscription_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/subscription","commits_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/contents/{+path}","compare_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/merges","archive_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/downloads","issues_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues{/number}","pulls_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls{/number}","milestones_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/milestones{/number}","notifications_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/labels{/name}","releases_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/releases{/id}","deployments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/deployments","created_at":"2012-06-27T15:58:50Z","updated_at":"2018-03-05T16:43:19Z","pushed_at":"2018-03-09T18:09:45Z","git_url":"git://github.com/coddingtonbear/django-mailbox.git","ssh_url":"git@github.com:coddingtonbear/django-mailbox.git","clone_url":"https://github.com/coddingtonbear/django-mailbox.git","svn_url":"https://github.com/coddingtonbear/django-mailbox","homepage":"","size":3447,"stargazers_count":175,"watchers_count":175,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":86,"open_issues":23,"watchers":175,"default_branch":"master"}},"base":{"label":"coddingtonbear:master","ref":"master","sha":"9f8d653adab51d81dad68e108c045ab450b5a7ce","user":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars3.githubusercontent.com/u/527661?v=4","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"repo":{"id":4810450,"name":"django-mailbox","full_name":"coddingtonbear/django-mailbox","owner":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars3.githubusercontent.com/u/527661?v=4","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coddingtonbear/django-mailbox","description":"Import mail from POP3, IMAP, local email mailboxes or directly from Postfix or Exim4 into your Django application automatically.","fork":false,"url":"https://api.github.com/repos/coddingtonbear/django-mailbox","forks_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/forks","keys_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/teams","hooks_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/hooks","issue_events_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/events{/number}","events_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/events","assignees_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/assignees{/user}","branches_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/branches{/branch}","tags_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/tags","blobs_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/statuses/{sha}","languages_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/languages","stargazers_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/stargazers","contributors_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/contributors","subscribers_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/subscribers","subscription_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/subscription","commits_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/contents/{+path}","compare_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/merges","archive_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/downloads","issues_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues{/number}","pulls_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls{/number}","milestones_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/milestones{/number}","notifications_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/labels{/name}","releases_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/releases{/id}","deployments_url":"https://api.github.com/repos/coddingtonbear/django-mailbox/deployments","created_at":"2012-06-27T15:58:50Z","updated_at":"2018-03-05T16:43:19Z","pushed_at":"2018-03-09T18:09:45Z","git_url":"git://github.com/coddingtonbear/django-mailbox.git","ssh_url":"git@github.com:coddingtonbear/django-mailbox.git","clone_url":"https://github.com/coddingtonbear/django-mailbox.git","svn_url":"https://github.com/coddingtonbear/django-mailbox","homepage":"","size":3447,"stargazers_count":175,"watchers_count":175,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":86,"mirror_url":null,"archived":false,"open_issues_count":23,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":86,"open_issues":23,"watchers":175,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149"},"html":{"href":"https://github.com/coddingtonbear/django-mailbox/pull/149"},"issue":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/149"},"comments":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/coddingtonbear/django-mailbox/statuses/e7e511cbe5b4056f3ffde1aab47c10e98260fa0b"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"coddingtonbear","id":527661,"avatar_url":"https://avatars3.githubusercontent.com/u/527661?v=4","gravatar_id":"","url":"https://api.github.com/users/coddingtonbear","html_url":"https://github.com/coddingtonbear","followers_url":"https://api.github.com/users/coddingtonbear/followers","following_url":"https://api.github.com/users/coddingtonbear/following{/other_user}","gists_url":"https://api.github.com/users/coddingtonbear/gists{/gist_id}","starred_url":"https://api.github.com/users/coddingtonbear/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coddingtonbear/subscriptions","organizations_url":"https://api.github.com/users/coddingtonbear/orgs","repos_url":"https://api.github.com/users/coddingtonbear/repos","events_url":"https://api.github.com/users/coddingtonbear/events{/privacy}","received_events_url":"https://api.github.com/users/coddingtonbear/received_events","type":"User","site_admin":false},"comments":2,"review_comments":2,"maintainer_can_modify":false,"commits":2,"additions":24,"deletions":14,"changed_files":4}}
{"actor":{"display_login":"coddingtonbear"}}