{"action":"created","issue":{"url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/72","repository_url":"https://api.github.com/repos/metabrainz/listenbrainz-server","labels_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/72/comments","events_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/72/events","html_url":"https://github.com/metabrainz/listenbrainz-server/pull/72","id":138995351,"number":72,"title":"Fix [LB-68] Memory Leak | Scraper","user":{"login":"pinkeshbadjatiya","id":14854424,"avatar_url":"https://avatars.githubusercontent.com/u/14854424?v=3","gravatar_id":"","url":"https://api.github.com/users/pinkeshbadjatiya","html_url":"https://github.com/pinkeshbadjatiya","followers_url":"https://api.github.com/users/pinkeshbadjatiya/followers","following_url":"https://api.github.com/users/pinkeshbadjatiya/following{/other_user}","gists_url":"https://api.github.com/users/pinkeshbadjatiya/gists{/gist_id}","starred_url":"https://api.github.com/users/pinkeshbadjatiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinkeshbadjatiya/subscriptions","organizations_url":"https://api.github.com/users/pinkeshbadjatiya/orgs","repos_url":"https://api.github.com/users/pinkeshbadjatiya/repos","events_url":"https://api.github.com/users/pinkeshbadjatiya/events{/privacy}","received_events_url":"https://api.github.com/users/pinkeshbadjatiya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-07T14:42:53Z","updated_at":"2016-03-12T21:51:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/metabrainz/listenbrainz-server/pulls/72","html_url":"https://github.com/metabrainz/listenbrainz-server/pull/72","diff_url":"https://github.com/metabrainz/listenbrainz-server/pull/72.diff","patch_url":"https://github.com/metabrainz/listenbrainz-server/pull/72.patch"},"body":"![LB-68](http://tickets.musicbrainz.org/browse/LB-68) - <b>importer uses lots of ram</b>\r\nGC takes its own time to clean up the xhr variables in closure, which is slower than the amount at which requests were happening. By manually deleting the reference, ram usage is reduced."},"comment":{"url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/comments/195813016","html_url":"https://github.com/metabrainz/listenbrainz-server/pull/72#issuecomment-195813016","issue_url":"https://api.github.com/repos/metabrainz/listenbrainz-server/issues/72","id":195813016,"user":{"login":"mwiencek","id":1056556,"avatar_url":"https://avatars.githubusercontent.com/u/1056556?v=3","gravatar_id":"","url":"https://api.github.com/users/mwiencek","html_url":"https://github.com/mwiencek","followers_url":"https://api.github.com/users/mwiencek/followers","following_url":"https://api.github.com/users/mwiencek/following{/other_user}","gists_url":"https://api.github.com/users/mwiencek/gists{/gist_id}","starred_url":"https://api.github.com/users/mwiencek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwiencek/subscriptions","organizations_url":"https://api.github.com/users/mwiencek/orgs","repos_url":"https://api.github.com/users/mwiencek/repos","events_url":"https://api.github.com/users/mwiencek/events{/privacy}","received_events_url":"https://api.github.com/users/mwiencek/received_events","type":"User","site_admin":false},"created_at":"2016-03-12T21:51:44Z","updated_at":"2016-03-12T21:51:44Z","body":"You could've just tried `delete` in the console to see that it doesn't do anything. ;)\r\n\r\n```JavaScript\r\n> (function () { var foo = {a: 1}; delete foo; console.log(foo); }());\r\nObject {a: 1} // foo is still referenceable, so can't possibly have been GC'd\r\n```\r\n"}}