{"action":"created","issue":{"url":"https://api.github.com/repos/beniz/deepdetect/issues/12","labels_url":"https://api.github.com/repos/beniz/deepdetect/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/beniz/deepdetect/issues/12/comments","events_url":"https://api.github.com/repos/beniz/deepdetect/issues/12/events","html_url":"https://github.com/beniz/deepdetect/issues/12","id":87223299,"number":12,"title":"Memory leak, possibly with Caffe services","user":{"login":"beniz","id":3530657,"avatar_url":"https://avatars.githubusercontent.com/u/3530657?v=3","gravatar_id":"","url":"https://api.github.com/users/beniz","html_url":"https://github.com/beniz","followers_url":"https://api.github.com/users/beniz/followers","following_url":"https://api.github.com/users/beniz/following{/other_user}","gists_url":"https://api.github.com/users/beniz/gists{/gist_id}","starred_url":"https://api.github.com/users/beniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beniz/subscriptions","organizations_url":"https://api.github.com/users/beniz/orgs","repos_url":"https://api.github.com/users/beniz/repos","events_url":"https://api.github.com/users/beniz/events{/privacy}","received_events_url":"https://api.github.com/users/beniz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/beniz/deepdetect/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/beniz/deepdetect/labels/Caffe","name":"Caffe","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"beniz","id":3530657,"avatar_url":"https://avatars.githubusercontent.com/u/3530657?v=3","gravatar_id":"","url":"https://api.github.com/users/beniz","html_url":"https://github.com/beniz","followers_url":"https://api.github.com/users/beniz/followers","following_url":"https://api.github.com/users/beniz/following{/other_user}","gists_url":"https://api.github.com/users/beniz/gists{/gist_id}","starred_url":"https://api.github.com/users/beniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beniz/subscriptions","organizations_url":"https://api.github.com/users/beniz/orgs","repos_url":"https://api.github.com/users/beniz/repos","events_url":"https://api.github.com/users/beniz/events{/privacy}","received_events_url":"https://api.github.com/users/beniz/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-11T05:59:32Z","updated_at":"2015-06-12T07:53:04Z","closed_at":null,"body":"There is a weird leak behavior with Caffe:\r\n- the first service running Caffe almost determines the leak by leaving a leak behind. The size of the leak is directly proportional to the size of the training dataset\r\n- the leak appears to be independent from the input connector (witnessed for both CSV and text)\r\n- leak grow slowly with every new service, proportionally to initial size. This suggests that a structure somewhere is being incremented, with initial size set by the first run service.\r\n\r\nFirst set of investigations appears to rule out the Caffe's net destruction, and first valgrind pass does not reveal much yet."},"comment":{"url":"https://api.github.com/repos/beniz/deepdetect/issues/comments/111397794","html_url":"https://github.com/beniz/deepdetect/issues/12#issuecomment-111397794","issue_url":"https://api.github.com/repos/beniz/deepdetect/issues/12","id":111397794,"user":{"login":"beniz","id":3530657,"avatar_url":"https://avatars.githubusercontent.com/u/3530657?v=3","gravatar_id":"","url":"https://api.github.com/users/beniz","html_url":"https://github.com/beniz","followers_url":"https://api.github.com/users/beniz/followers","following_url":"https://api.github.com/users/beniz/following{/other_user}","gists_url":"https://api.github.com/users/beniz/gists{/gist_id}","starred_url":"https://api.github.com/users/beniz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/beniz/subscriptions","organizations_url":"https://api.github.com/users/beniz/orgs","repos_url":"https://api.github.com/users/beniz/repos","events_url":"https://api.github.com/users/beniz/events{/privacy}","received_events_url":"https://api.github.com/users/beniz/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T07:53:04Z","updated_at":"2015-06-12T07:53:04Z","body":"OK, so this does not look like a leak, but rather like a static allocation within Caffe. Still investigating."}}