{"action":"opened","number":216,"pull_request":{"url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216","id":65400042,"html_url":"https://github.com/jeff-regier/Celeste.jl/pull/216","diff_url":"https://github.com/jeff-regier/Celeste.jl/pull/216.diff","patch_url":"https://github.com/jeff-regier/Celeste.jl/pull/216.patch","issue_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/216","number":216,"state":"open","locked":false,"title":"Save memory","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"body":"A crazy amount of memory was getting allocated in two places, where a singleton vector gets multiplied in place by a scalar, without specifying `1` as the index.\r\n\r\nFixing them should help with the runtime of PSF fitting. I don't think it addresses the high peak memory usage, however, since this memory was likely being freed each time the function call completed.","created_at":"2016-04-06T02:04:59Z","updated_at":"2016-04-06T02:04:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216/commits","review_comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216/comments","review_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/216/comments","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/1daf0815d8900ca8136f4007baa44f3db1cdd980","head":{"label":"jeff-regier:save_memory","ref":"save_memory","sha":"1daf0815d8900ca8136f4007baa44f3db1cdd980","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"repo":{"id":28730928,"name":"Celeste.jl","full_name":"jeff-regier/Celeste.jl","owner":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-regier/Celeste.jl","description":"Scalable inference for a generative model of astronomical images","fork":false,"url":"https://api.github.com/repos/jeff-regier/Celeste.jl","forks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/forks","keys_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/teams","hooks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/hooks","issue_events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/events","assignees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/tags","blobs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/languages","stargazers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/stargazers","contributors_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contributors","subscribers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscribers","subscription_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscription","commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/merges","archive_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/downloads","issues_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/labels{/name}","releases_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/deployments","created_at":"2015-01-03T00:47:34Z","updated_at":"2016-01-22T03:24:19Z","pushed_at":"2016-04-06T01:59:24Z","git_url":"git://github.com/jeff-regier/Celeste.jl.git","ssh_url":"git@github.com:jeff-regier/Celeste.jl.git","clone_url":"https://github.com/jeff-regier/Celeste.jl.git","svn_url":"https://github.com/jeff-regier/Celeste.jl","homepage":"","size":56456,"stargazers_count":1,"watchers_count":1,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":15,"forks":5,"open_issues":15,"watchers":1,"default_branch":"master"}},"base":{"label":"jeff-regier:master","ref":"master","sha":"fa11ae488c336a140bafdd8a227afc6d7f9c17d2","user":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"repo":{"id":28730928,"name":"Celeste.jl","full_name":"jeff-regier/Celeste.jl","owner":{"login":"jeff-regier","id":8953355,"avatar_url":"https://avatars.githubusercontent.com/u/8953355?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-regier","html_url":"https://github.com/jeff-regier","followers_url":"https://api.github.com/users/jeff-regier/followers","following_url":"https://api.github.com/users/jeff-regier/following{/other_user}","gists_url":"https://api.github.com/users/jeff-regier/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-regier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-regier/subscriptions","organizations_url":"https://api.github.com/users/jeff-regier/orgs","repos_url":"https://api.github.com/users/jeff-regier/repos","events_url":"https://api.github.com/users/jeff-regier/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-regier/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeff-regier/Celeste.jl","description":"Scalable inference for a generative model of astronomical images","fork":false,"url":"https://api.github.com/repos/jeff-regier/Celeste.jl","forks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/forks","keys_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/teams","hooks_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/hooks","issue_events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/events{/number}","events_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/events","assignees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/assignees{/user}","branches_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/branches{/branch}","tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/tags","blobs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/{sha}","languages_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/languages","stargazers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/stargazers","contributors_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contributors","subscribers_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscribers","subscription_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/subscription","commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/contents/{+path}","compare_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/merges","archive_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/downloads","issues_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues{/number}","pulls_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls{/number}","milestones_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/milestones{/number}","notifications_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/labels{/name}","releases_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/releases{/id}","deployments_url":"https://api.github.com/repos/jeff-regier/Celeste.jl/deployments","created_at":"2015-01-03T00:47:34Z","updated_at":"2016-01-22T03:24:19Z","pushed_at":"2016-04-06T01:59:24Z","git_url":"git://github.com/jeff-regier/Celeste.jl.git","ssh_url":"git@github.com:jeff-regier/Celeste.jl.git","clone_url":"https://github.com/jeff-regier/Celeste.jl.git","svn_url":"https://github.com/jeff-regier/Celeste.jl","homepage":"","size":56456,"stargazers_count":1,"watchers_count":1,"language":"Julia","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":15,"forks":5,"open_issues":15,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216"},"html":{"href":"https://github.com/jeff-regier/Celeste.jl/pull/216"},"issue":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/216"},"comments":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/issues/216/comments"},"review_comments":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216/comments"},"review_comment":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/pulls/216/commits"},"statuses":{"href":"https://api.github.com/repos/jeff-regier/Celeste.jl/statuses/1daf0815d8900ca8136f4007baa44f3db1cdd980"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":5,"deletions":5,"changed_files":2}}