{"action":"created","issue":{"url":"https://api.github.com/repos/jpata/tthbb13/issues/107","repository_url":"https://api.github.com/repos/jpata/tthbb13","labels_url":"https://api.github.com/repos/jpata/tthbb13/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/jpata/tthbb13/issues/107/comments","events_url":"https://api.github.com/repos/jpata/tthbb13/issues/107/events","html_url":"https://github.com/jpata/tthbb13/issues/107","id":170433594,"number":107,"title":"MakeCategory.py memory leak","user":{"login":"jpata","id":69717,"avatar_url":"https://avatars.githubusercontent.com/u/69717?v=3","gravatar_id":"","url":"https://api.github.com/users/jpata","html_url":"https://github.com/jpata","followers_url":"https://api.github.com/users/jpata/followers","following_url":"https://api.github.com/users/jpata/following{/other_user}","gists_url":"https://api.github.com/users/jpata/gists{/gist_id}","starred_url":"https://api.github.com/users/jpata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpata/subscriptions","organizations_url":"https://api.github.com/users/jpata/orgs","repos_url":"https://api.github.com/users/jpata/repos","events_url":"https://api.github.com/users/jpata/events{/privacy}","received_events_url":"https://api.github.com/users/jpata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-10T14:38:12Z","updated_at":"2016-08-10T22:14:55Z","closed_at":null,"body":"Seems like `MakeCategory.py` leaks memory in the map-reduce.\r\n\r\nSpecifically in https://github.com/jpata/tthbb13/blob/meanalysis-80x-makecat-lumi/Plotting/python/Datacards/MakeCategory.py#L168\r\n\r\n`ret = ... ` never gets cleaned up, regardless of how the histograms are created."},"comment":{"url":"https://api.github.com/repos/jpata/tthbb13/issues/comments/239021505","html_url":"https://github.com/jpata/tthbb13/issues/107#issuecomment-239021505","issue_url":"https://api.github.com/repos/jpata/tthbb13/issues/107","id":239021505,"user":{"login":"jpata","id":69717,"avatar_url":"https://avatars.githubusercontent.com/u/69717?v=3","gravatar_id":"","url":"https://api.github.com/users/jpata","html_url":"https://github.com/jpata","followers_url":"https://api.github.com/users/jpata/followers","following_url":"https://api.github.com/users/jpata/following{/other_user}","gists_url":"https://api.github.com/users/jpata/gists{/gist_id}","starred_url":"https://api.github.com/users/jpata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpata/subscriptions","organizations_url":"https://api.github.com/users/jpata/orgs","repos_url":"https://api.github.com/users/jpata/repos","events_url":"https://api.github.com/users/jpata/events{/privacy}","received_events_url":"https://api.github.com/users/jpata/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T22:14:55Z","updated_at":"2016-08-10T22:14:55Z","body":"Also appears in a C++ version\r\n\r\n~~~\r\n#include <iostream>\r\n#include \"TFile.h\"\r\n#include \"THnSparse.h\"\r\n\r\nint main(int argc, const char** argv) {\r\n    TFile* fi = TFile::Open(\"file:///mnt/t3nfs01/data01/shome/jpata/tth/datacards/Sparse_Aug10.root\");\r\n    for (int i=0;i<10000;i++) {\r\n        THnSparse* h = (THnSparse*)(fi->Get(\"ttHTobb_M125_13TeV_powheg_pythia8/sl/sparse\"));\r\n    }\r\n    return 0;\r\n}\r\n~~~"}}
{"actor":{"display_login":"jpata"}}