{"action":"created","issue":{"url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/666","repository_url":"https://api.github.com/repos/BlueBrain/NeuroM","labels_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/666/labels{/name}","comments_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/666/comments","events_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/666/events","html_url":"https://github.com/BlueBrain/NeuroM/issues/666","id":280921579,"number":666,"title":"memoization behaviour prevents memory to be released.","user":{"login":"jdcourcol","id":5441880,"avatar_url":"https://avatars3.githubusercontent.com/u/5441880?v=4","gravatar_id":"","url":"https://api.github.com/users/jdcourcol","html_url":"https://github.com/jdcourcol","followers_url":"https://api.github.com/users/jdcourcol/followers","following_url":"https://api.github.com/users/jdcourcol/following{/other_user}","gists_url":"https://api.github.com/users/jdcourcol/gists{/gist_id}","starred_url":"https://api.github.com/users/jdcourcol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdcourcol/subscriptions","organizations_url":"https://api.github.com/users/jdcourcol/orgs","repos_url":"https://api.github.com/users/jdcourcol/repos","events_url":"https://api.github.com/users/jdcourcol/events{/privacy}","received_events_url":"https://api.github.com/users/jdcourcol/received_events","type":"User","site_admin":false},"labels":[{"id":206458632,"url":"https://api.github.com/repos/BlueBrain/NeuroM/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"wizmer","id":1685078,"avatar_url":"https://avatars1.githubusercontent.com/u/1685078?v=4","gravatar_id":"","url":"https://api.github.com/users/wizmer","html_url":"https://github.com/wizmer","followers_url":"https://api.github.com/users/wizmer/followers","following_url":"https://api.github.com/users/wizmer/following{/other_user}","gists_url":"https://api.github.com/users/wizmer/gists{/gist_id}","starred_url":"https://api.github.com/users/wizmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizmer/subscriptions","organizations_url":"https://api.github.com/users/wizmer/orgs","repos_url":"https://api.github.com/users/wizmer/repos","events_url":"https://api.github.com/users/wizmer/events{/privacy}","received_events_url":"https://api.github.com/users/wizmer/received_events","type":"User","site_admin":false},"assignees":[{"login":"wizmer","id":1685078,"avatar_url":"https://avatars1.githubusercontent.com/u/1685078?v=4","gravatar_id":"","url":"https://api.github.com/users/wizmer","html_url":"https://github.com/wizmer","followers_url":"https://api.github.com/users/wizmer/followers","following_url":"https://api.github.com/users/wizmer/following{/other_user}","gists_url":"https://api.github.com/users/wizmer/gists{/gist_id}","starred_url":"https://api.github.com/users/wizmer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizmer/subscriptions","organizations_url":"https://api.github.com/users/wizmer/orgs","repos_url":"https://api.github.com/users/wizmer/repos","events_url":"https://api.github.com/users/wizmer/events{/privacy}","received_events_url":"https://api.github.com/users/wizmer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-12-11T07:43:10Z","updated_at":"2017-12-11T13:21:04Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"memoization in NeuroM involves a class variable: https://github.com/BlueBrain/NeuroM/blob/master/neurom/utils.py#L44\r\nWhen accessing properties on a lot of morphologies sequentially, even though we don't reference the morphology anymore, properties are still stored in that cache.\r\nThe consequence is that memory keeps growing even if we actually needs only 1 morphology at a time. This prevents analyzing large number of morphologies.\r\nPlease make that memoization optional or attach the cache to the morphology."},"comment":{"url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/comments/350722237","html_url":"https://github.com/BlueBrain/NeuroM/issues/666#issuecomment-350722237","issue_url":"https://api.github.com/repos/BlueBrain/NeuroM/issues/666","id":350722237,"user":{"login":"jdcourcol","id":5441880,"avatar_url":"https://avatars3.githubusercontent.com/u/5441880?v=4","gravatar_id":"","url":"https://api.github.com/users/jdcourcol","html_url":"https://github.com/jdcourcol","followers_url":"https://api.github.com/users/jdcourcol/followers","following_url":"https://api.github.com/users/jdcourcol/following{/other_user}","gists_url":"https://api.github.com/users/jdcourcol/gists{/gist_id}","starred_url":"https://api.github.com/users/jdcourcol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdcourcol/subscriptions","organizations_url":"https://api.github.com/users/jdcourcol/orgs","repos_url":"https://api.github.com/users/jdcourcol/repos","events_url":"https://api.github.com/users/jdcourcol/events{/privacy}","received_events_url":"https://api.github.com/users/jdcourcol/received_events","type":"User","site_admin":false},"created_at":"2017-12-11T13:21:04Z","updated_at":"2017-12-11T13:21:04Z","author_association":"CONTRIBUTOR","body":"@wizmer I think you can close it now ?"}}
{"actor":{"display_login":"jdcourcol"}}