{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5","id":172927814,"html_url":"https://github.com/BTCPrivate/z-nomp/pull/5","diff_url":"https://github.com/BTCPrivate/z-nomp/pull/5.diff","patch_url":"https://github.com/BTCPrivate/z-nomp/pull/5.patch","issue_url":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/5","number":5,"state":"open","locked":false,"title":"Temporary Memory Leak Fix","user":{"login":"davidtai","id":8346495,"avatar_url":"https://avatars1.githubusercontent.com/u/8346495?v=4","gravatar_id":"","url":"https://api.github.com/users/davidtai","html_url":"https://github.com/davidtai","followers_url":"https://api.github.com/users/davidtai/followers","following_url":"https://api.github.com/users/davidtai/following{/other_user}","gists_url":"https://api.github.com/users/davidtai/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtai/subscriptions","organizations_url":"https://api.github.com/users/davidtai/orgs","repos_url":"https://api.github.com/users/davidtai/repos","events_url":"https://api.github.com/users/davidtai/events{/privacy}","received_events_url":"https://api.github.com/users/davidtai/received_events","type":"User","site_admin":false},"body":"Payments contains an amounts array.  For whatever reason, the BTCP mining generates about 300kb per payment (your UI displays 100 payments) equalling around 30mb.  ZNOMP then save this to a giant in memory list.  This is bad.\r\n\r\nI've lowered the amount of payments recorded to 3.  I've added comments if you just want to get rid of that feature entirely.\r\n\r\nThere is a similar issue with workers but that is a fraction of this issue, I'll take a look at it if its a problem.\r\n\r\nNote: Turning off live stats doesn't fix this because this function is used to render the pages, everyone someone loads the page, the template rendering calls this global stats fun.\r\n\r\nGood luck :)","created_at":"2018-03-05T17:03:47Z","updated_at":"2018-03-05T17:03:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5/commits","review_comments_url":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5/comments","review_comment_url":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/5/comments","statuses_url":"https://api.github.com/repos/BTCPrivate/z-nomp/statuses/7c55dc73a8fb225b76f10eb59b9dd8a1bd4363fd","head":{"label":"davidtai:master","ref":"master","sha":"7c55dc73a8fb225b76f10eb59b9dd8a1bd4363fd","user":{"login":"davidtai","id":8346495,"avatar_url":"https://avatars1.githubusercontent.com/u/8346495?v=4","gravatar_id":"","url":"https://api.github.com/users/davidtai","html_url":"https://github.com/davidtai","followers_url":"https://api.github.com/users/davidtai/followers","following_url":"https://api.github.com/users/davidtai/following{/other_user}","gists_url":"https://api.github.com/users/davidtai/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtai/subscriptions","organizations_url":"https://api.github.com/users/davidtai/orgs","repos_url":"https://api.github.com/users/davidtai/repos","events_url":"https://api.github.com/users/davidtai/events{/privacy}","received_events_url":"https://api.github.com/users/davidtai/received_events","type":"User","site_admin":false},"repo":{"id":123940936,"name":"z-nomp","full_name":"davidtai/z-nomp","owner":{"login":"davidtai","id":8346495,"avatar_url":"https://avatars1.githubusercontent.com/u/8346495?v=4","gravatar_id":"","url":"https://api.github.com/users/davidtai","html_url":"https://github.com/davidtai","followers_url":"https://api.github.com/users/davidtai/followers","following_url":"https://api.github.com/users/davidtai/following{/other_user}","gists_url":"https://api.github.com/users/davidtai/gists{/gist_id}","starred_url":"https://api.github.com/users/davidtai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidtai/subscriptions","organizations_url":"https://api.github.com/users/davidtai/orgs","repos_url":"https://api.github.com/users/davidtai/repos","events_url":"https://api.github.com/users/davidtai/events{/privacy}","received_events_url":"https://api.github.com/users/davidtai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidtai/z-nomp","description":"Work In Progress - Bitcoin Private Z-NOMP Pool","fork":true,"url":"https://api.github.com/repos/davidtai/z-nomp","forks_url":"https://api.github.com/repos/davidtai/z-nomp/forks","keys_url":"https://api.github.com/repos/davidtai/z-nomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidtai/z-nomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidtai/z-nomp/teams","hooks_url":"https://api.github.com/repos/davidtai/z-nomp/hooks","issue_events_url":"https://api.github.com/repos/davidtai/z-nomp/issues/events{/number}","events_url":"https://api.github.com/repos/davidtai/z-nomp/events","assignees_url":"https://api.github.com/repos/davidtai/z-nomp/assignees{/user}","branches_url":"https://api.github.com/repos/davidtai/z-nomp/branches{/branch}","tags_url":"https://api.github.com/repos/davidtai/z-nomp/tags","blobs_url":"https://api.github.com/repos/davidtai/z-nomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidtai/z-nomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidtai/z-nomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidtai/z-nomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidtai/z-nomp/statuses/{sha}","languages_url":"https://api.github.com/repos/davidtai/z-nomp/languages","stargazers_url":"https://api.github.com/repos/davidtai/z-nomp/stargazers","contributors_url":"https://api.github.com/repos/davidtai/z-nomp/contributors","subscribers_url":"https://api.github.com/repos/davidtai/z-nomp/subscribers","subscription_url":"https://api.github.com/repos/davidtai/z-nomp/subscription","commits_url":"https://api.github.com/repos/davidtai/z-nomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidtai/z-nomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidtai/z-nomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidtai/z-nomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidtai/z-nomp/contents/{+path}","compare_url":"https://api.github.com/repos/davidtai/z-nomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidtai/z-nomp/merges","archive_url":"https://api.github.com/repos/davidtai/z-nomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidtai/z-nomp/downloads","issues_url":"https://api.github.com/repos/davidtai/z-nomp/issues{/number}","pulls_url":"https://api.github.com/repos/davidtai/z-nomp/pulls{/number}","milestones_url":"https://api.github.com/repos/davidtai/z-nomp/milestones{/number}","notifications_url":"https://api.github.com/repos/davidtai/z-nomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidtai/z-nomp/labels{/name}","releases_url":"https://api.github.com/repos/davidtai/z-nomp/releases{/id}","deployments_url":"https://api.github.com/repos/davidtai/z-nomp/deployments","created_at":"2018-03-05T15:40:06Z","updated_at":"2018-03-05T15:40:08Z","pushed_at":"2018-03-05T17:01:29Z","git_url":"git://github.com/davidtai/z-nomp.git","ssh_url":"git@github.com:davidtai/z-nomp.git","clone_url":"https://github.com/davidtai/z-nomp.git","svn_url":"https://github.com/davidtai/z-nomp","homepage":"","size":966,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"BTCPrivate:master","ref":"master","sha":"0cb13a8775c267e043443df2392285ac0845dbd0","user":{"login":"BTCPrivate","id":34813369,"avatar_url":"https://avatars3.githubusercontent.com/u/34813369?v=4","gravatar_id":"","url":"https://api.github.com/users/BTCPrivate","html_url":"https://github.com/BTCPrivate","followers_url":"https://api.github.com/users/BTCPrivate/followers","following_url":"https://api.github.com/users/BTCPrivate/following{/other_user}","gists_url":"https://api.github.com/users/BTCPrivate/gists{/gist_id}","starred_url":"https://api.github.com/users/BTCPrivate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BTCPrivate/subscriptions","organizations_url":"https://api.github.com/users/BTCPrivate/orgs","repos_url":"https://api.github.com/users/BTCPrivate/repos","events_url":"https://api.github.com/users/BTCPrivate/events{/privacy}","received_events_url":"https://api.github.com/users/BTCPrivate/received_events","type":"Organization","site_admin":false},"repo":{"id":122795652,"name":"z-nomp","full_name":"BTCPrivate/z-nomp","owner":{"login":"BTCPrivate","id":34813369,"avatar_url":"https://avatars3.githubusercontent.com/u/34813369?v=4","gravatar_id":"","url":"https://api.github.com/users/BTCPrivate","html_url":"https://github.com/BTCPrivate","followers_url":"https://api.github.com/users/BTCPrivate/followers","following_url":"https://api.github.com/users/BTCPrivate/following{/other_user}","gists_url":"https://api.github.com/users/BTCPrivate/gists{/gist_id}","starred_url":"https://api.github.com/users/BTCPrivate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BTCPrivate/subscriptions","organizations_url":"https://api.github.com/users/BTCPrivate/orgs","repos_url":"https://api.github.com/users/BTCPrivate/repos","events_url":"https://api.github.com/users/BTCPrivate/events{/privacy}","received_events_url":"https://api.github.com/users/BTCPrivate/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/BTCPrivate/z-nomp","description":"Work In Progress - Bitcoin Private Z-NOMP Pool","fork":true,"url":"https://api.github.com/repos/BTCPrivate/z-nomp","forks_url":"https://api.github.com/repos/BTCPrivate/z-nomp/forks","keys_url":"https://api.github.com/repos/BTCPrivate/z-nomp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BTCPrivate/z-nomp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BTCPrivate/z-nomp/teams","hooks_url":"https://api.github.com/repos/BTCPrivate/z-nomp/hooks","issue_events_url":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/events{/number}","events_url":"https://api.github.com/repos/BTCPrivate/z-nomp/events","assignees_url":"https://api.github.com/repos/BTCPrivate/z-nomp/assignees{/user}","branches_url":"https://api.github.com/repos/BTCPrivate/z-nomp/branches{/branch}","tags_url":"https://api.github.com/repos/BTCPrivate/z-nomp/tags","blobs_url":"https://api.github.com/repos/BTCPrivate/z-nomp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BTCPrivate/z-nomp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BTCPrivate/z-nomp/git/refs{/sha}","trees_url":"https://api.github.com/repos/BTCPrivate/z-nomp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BTCPrivate/z-nomp/statuses/{sha}","languages_url":"https://api.github.com/repos/BTCPrivate/z-nomp/languages","stargazers_url":"https://api.github.com/repos/BTCPrivate/z-nomp/stargazers","contributors_url":"https://api.github.com/repos/BTCPrivate/z-nomp/contributors","subscribers_url":"https://api.github.com/repos/BTCPrivate/z-nomp/subscribers","subscription_url":"https://api.github.com/repos/BTCPrivate/z-nomp/subscription","commits_url":"https://api.github.com/repos/BTCPrivate/z-nomp/commits{/sha}","git_commits_url":"https://api.github.com/repos/BTCPrivate/z-nomp/git/commits{/sha}","comments_url":"https://api.github.com/repos/BTCPrivate/z-nomp/comments{/number}","issue_comment_url":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/comments{/number}","contents_url":"https://api.github.com/repos/BTCPrivate/z-nomp/contents/{+path}","compare_url":"https://api.github.com/repos/BTCPrivate/z-nomp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BTCPrivate/z-nomp/merges","archive_url":"https://api.github.com/repos/BTCPrivate/z-nomp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BTCPrivate/z-nomp/downloads","issues_url":"https://api.github.com/repos/BTCPrivate/z-nomp/issues{/number}","pulls_url":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls{/number}","milestones_url":"https://api.github.com/repos/BTCPrivate/z-nomp/milestones{/number}","notifications_url":"https://api.github.com/repos/BTCPrivate/z-nomp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BTCPrivate/z-nomp/labels{/name}","releases_url":"https://api.github.com/repos/BTCPrivate/z-nomp/releases{/id}","deployments_url":"https://api.github.com/repos/BTCPrivate/z-nomp/deployments","created_at":"2018-02-25T01:32:17Z","updated_at":"2018-03-05T14:45:57Z","pushed_at":"2018-03-05T15:01:53Z","git_url":"git://github.com/BTCPrivate/z-nomp.git","ssh_url":"git@github.com:BTCPrivate/z-nomp.git","clone_url":"https://github.com/BTCPrivate/z-nomp.git","svn_url":"https://github.com/BTCPrivate/z-nomp","homepage":"","size":966,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":2,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5"},"html":{"href":"https://github.com/BTCPrivate/z-nomp/pull/5"},"issue":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/5"},"comments":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/BTCPrivate/z-nomp/statuses/7c55dc73a8fb225b76f10eb59b9dd8a1bd4363fd"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"davidtai"}}