{"action":"created","issue":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/432","repository_url":"https://api.github.com/repos/openfisca/openfisca-core","labels_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/432/labels{/name}","comments_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/432/comments","events_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/432/events","html_url":"https://github.com/openfisca/openfisca-core/pull/432","id":200862541,"number":432,"title":"Add memory_usage simulation method","user":{"login":"benjello","id":1175927,"avatar_url":"https://avatars.githubusercontent.com/u/1175927?v=3","gravatar_id":"","url":"https://api.github.com/users/benjello","html_url":"https://github.com/benjello","followers_url":"https://api.github.com/users/benjello/followers","following_url":"https://api.github.com/users/benjello/following{/other_user}","gists_url":"https://api.github.com/users/benjello/gists{/gist_id}","starred_url":"https://api.github.com/users/benjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjello/subscriptions","organizations_url":"https://api.github.com/users/benjello/orgs","repos_url":"https://api.github.com/users/benjello/repos","events_url":"https://api.github.com/users/benjello/events{/privacy}","received_events_url":"https://api.github.com/users/benjello/received_events","type":"User","site_admin":false},"labels":[{"id":72578809,"url":"https://api.github.com/repos/openfisca/openfisca-core/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":291965718,"url":"https://api.github.com/repos/openfisca/openfisca-core/labels/performance","name":"performance","color":"009800","default":false},{"id":83389909,"url":"https://api.github.com/repos/openfisca/openfisca-core/labels/prio-high","name":"prio-high","color":"e10c02","default":false}],"state":"open","locked":false,"assignee":{"login":"fpagnoux","id":11834997,"avatar_url":"https://avatars.githubusercontent.com/u/11834997?v=3","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false},"assignees":[{"login":"fpagnoux","id":11834997,"avatar_url":"https://avatars.githubusercontent.com/u/11834997?v=3","gravatar_id":"","url":"https://api.github.com/users/fpagnoux","html_url":"https://github.com/fpagnoux","followers_url":"https://api.github.com/users/fpagnoux/followers","following_url":"https://api.github.com/users/fpagnoux/following{/other_user}","gists_url":"https://api.github.com/users/fpagnoux/gists{/gist_id}","starred_url":"https://api.github.com/users/fpagnoux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpagnoux/subscriptions","organizations_url":"https://api.github.com/users/fpagnoux/orgs","repos_url":"https://api.github.com/users/fpagnoux/repos","events_url":"https://api.github.com/users/fpagnoux/events{/privacy}","received_events_url":"https://api.github.com/users/fpagnoux/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2017-01-15T11:10:54Z","updated_at":"2017-01-27T15:06:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/openfisca/openfisca-core/pulls/432","html_url":"https://github.com/openfisca/openfisca-core/pull/432","diff_url":"https://github.com/openfisca/openfisca-core/pull/432.diff","patch_url":"https://github.com/openfisca/openfisca-core/pull/432.patch"},"body":"When using survey data with the full openfisca-france model I end up with very large memory\r\nusage. I need to know which are the variables that uses a lot of memory to either:\r\n - neutralize them \r\n - use a reform to lower memory usage (use a variable yearly instead of monthly etc)\r\n\r\nWith the help of @eraviart, the simulation method memory_usage was implemented. It is fairly sufficient to help me do my urgent tasks.\r\n\r\nBut you may have suggestions to improve it, and to choose the right location to put it.\r\nSince\r\n - all the information is available at the simulation level,\r\n - memory_usage can be useful many situation (many type of SurveyScenatio but also test case scenario with large tax-benefit system like france),\r\n`simulations.py` was my favorite location.\r\n\r\n@cbenz @fpagnoux @MattiSG  \r\n   "},"comment":{"url":"https://api.github.com/repos/openfisca/openfisca-core/issues/comments/275686513","html_url":"https://github.com/openfisca/openfisca-core/pull/432#issuecomment-275686513","issue_url":"https://api.github.com/repos/openfisca/openfisca-core/issues/432","id":275686513,"user":{"login":"benjello","id":1175927,"avatar_url":"https://avatars.githubusercontent.com/u/1175927?v=3","gravatar_id":"","url":"https://api.github.com/users/benjello","html_url":"https://github.com/benjello","followers_url":"https://api.github.com/users/benjello/followers","following_url":"https://api.github.com/users/benjello/following{/other_user}","gists_url":"https://api.github.com/users/benjello/gists{/gist_id}","starred_url":"https://api.github.com/users/benjello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjello/subscriptions","organizations_url":"https://api.github.com/users/benjello/orgs","repos_url":"https://api.github.com/users/benjello/repos","events_url":"https://api.github.com/users/benjello/events{/privacy}","received_events_url":"https://api.github.com/users/benjello/received_events","type":"User","site_admin":false},"created_at":"2017-01-27T15:06:54Z","updated_at":"2017-01-27T15:06:54Z","body":"Todo-list:\r\n - [ ] deal with variables that are not in cache"}}
{"actor":{"display_login":"benjello"}}