{"action":"created","issue":{"url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60","labels_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/labels{/name}","comments_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/comments","events_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60/events","html_url":"https://github.com/taskgraph/taskgraph/pull/60","id":68348792,"number":60,"title":"Disable parallel computation in KLDivLoss","user":{"login":"5kg","id":1975420,"avatar_url":"https://avatars.githubusercontent.com/u/1975420?v=3","gravatar_id":"","url":"https://api.github.com/users/5kg","html_url":"https://github.com/5kg","followers_url":"https://api.github.com/users/5kg/followers","following_url":"https://api.github.com/users/5kg/following{/other_user}","gists_url":"https://api.github.com/users/5kg/gists{/gist_id}","starred_url":"https://api.github.com/users/5kg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/5kg/subscriptions","organizations_url":"https://api.github.com/users/5kg/orgs","repos_url":"https://api.github.com/users/5kg/repos","events_url":"https://api.github.com/users/5kg/events{/privacy}","received_events_url":"https://api.github.com/users/5kg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T11:49:41Z","updated_at":"2015-04-14T13:20:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/taskgraph/taskgraph/pulls/60","html_url":"https://github.com/taskgraph/taskgraph/pull/60","diff_url":"https://github.com/taskgraph/taskgraph/pull/60.diff","patch_url":"https://github.com/taskgraph/taskgraph/pull/60.patch"},"body":"Without this patch, it takes more than 15g memory when factoring a 2000x1000 matrix before I killed the process."},"comment":{"url":"https://api.github.com/repos/taskgraph/taskgraph/issues/comments/92826105","html_url":"https://github.com/taskgraph/taskgraph/pull/60#issuecomment-92826105","issue_url":"https://api.github.com/repos/taskgraph/taskgraph/issues/60","id":92826105,"user":{"login":"BaiGang","id":241076,"avatar_url":"https://avatars.githubusercontent.com/u/241076?v=3","gravatar_id":"","url":"https://api.github.com/users/BaiGang","html_url":"https://github.com/BaiGang","followers_url":"https://api.github.com/users/BaiGang/followers","following_url":"https://api.github.com/users/BaiGang/following{/other_user}","gists_url":"https://api.github.com/users/BaiGang/gists{/gist_id}","starred_url":"https://api.github.com/users/BaiGang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BaiGang/subscriptions","organizations_url":"https://api.github.com/users/BaiGang/orgs","repos_url":"https://api.github.com/users/BaiGang/repos","events_url":"https://api.github.com/users/BaiGang/events{/privacy}","received_events_url":"https://api.github.com/users/BaiGang/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T13:20:45Z","updated_at":"2015-04-14T13:20:45Z","body":"The original code spawns a bunch of goroutines. I am not sure if this has big overheads in memory footprint. How much mem does it take when applied this patch?\r\n\r\nAlso, to make it block less in accum, could you try increasing the size of the chan?"}}