{"action":"created","issue":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/298","labels_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/298/labels{/name}","comments_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/298/comments","events_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/298/events","html_url":"https://github.com/armenzg/mozilla_ci_tools/pull/298","id":96196218,"number":298,"title":"Add memory-saving mode to buildjson.py","user":{"login":"adusca","id":8979476,"avatar_url":"https://avatars.githubusercontent.com/u/8979476?v=3","gravatar_id":"","url":"https://api.github.com/users/adusca","html_url":"https://github.com/adusca","followers_url":"https://api.github.com/users/adusca/followers","following_url":"https://api.github.com/users/adusca/following{/other_user}","gists_url":"https://api.github.com/users/adusca/gists{/gist_id}","starred_url":"https://api.github.com/users/adusca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adusca/subscriptions","organizations_url":"https://api.github.com/users/adusca/orgs","repos_url":"https://api.github.com/users/adusca/repos","events_url":"https://api.github.com/users/adusca/events{/privacy}","received_events_url":"https://api.github.com/users/adusca/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-21T00:21:31Z","updated_at":"2015-07-21T00:39:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/pulls/298","html_url":"https://github.com/armenzg/mozilla_ci_tools/pull/298","diff_url":"https://github.com/armenzg/mozilla_ci_tools/pull/298.diff","patch_url":"https://github.com/armenzg/mozilla_ci_tools/pull/298.patch"},"body":"This allows pulse_actions to use ijson instead of the normal json module without changing anything about the behaviour of the script.\r\n\r\nIf the experiment works it might be worth it to make this optimization available for normal mozci usage, but for now I just want to see if this solves our memory problems.\r\n\r\nr? @armenzg "},"comment":{"url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/comments/123110374","html_url":"https://github.com/armenzg/mozilla_ci_tools/pull/298#issuecomment-123110374","issue_url":"https://api.github.com/repos/armenzg/mozilla_ci_tools/issues/298","id":123110374,"user":{"login":"adusca","id":8979476,"avatar_url":"https://avatars.githubusercontent.com/u/8979476?v=3","gravatar_id":"","url":"https://api.github.com/users/adusca","html_url":"https://github.com/adusca","followers_url":"https://api.github.com/users/adusca/followers","following_url":"https://api.github.com/users/adusca/following{/other_user}","gists_url":"https://api.github.com/users/adusca/gists{/gist_id}","starred_url":"https://api.github.com/users/adusca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adusca/subscriptions","organizations_url":"https://api.github.com/users/adusca/orgs","repos_url":"https://api.github.com/users/adusca/repos","events_url":"https://api.github.com/users/adusca/events{/privacy}","received_events_url":"https://api.github.com/users/adusca/received_events","type":"User","site_admin":false},"created_at":"2015-07-21T00:39:07Z","updated_at":"2015-07-21T00:39:07Z","body":"Memory profiling results running: \r\n```\r\npython -m memory_profiler mozci/scripts/trigger.py --dry-run --coalesced --repo-name mozilla-inbound -r  649648c5f257\r\n```\r\nLEAN | Maximum memory usage\r\n---------------------|--------\r\nFalse | 348.145 MiB\r\nTrue | 58.480 MiB  \r\n\r\nPS.: For some reason, the script with LEAN=True is a lot slower with memory_profiler, even though it has a similar speed with normal usage."}}