{"action":"created","issue":{"url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/834","repository_url":"https://api.github.com/repos/deeplearning4j/nd4j","labels_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/834/labels{/name}","comments_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/834/comments","events_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/834/events","html_url":"https://github.com/deeplearning4j/nd4j/issues/834","id":148684559,"number":834,"title":"Memory leaks with vstack","user":{"login":"turingsmart","id":1404414,"avatar_url":"https://avatars.githubusercontent.com/u/1404414?v=3","gravatar_id":"","url":"https://api.github.com/users/turingsmart","html_url":"https://github.com/turingsmart","followers_url":"https://api.github.com/users/turingsmart/followers","following_url":"https://api.github.com/users/turingsmart/following{/other_user}","gists_url":"https://api.github.com/users/turingsmart/gists{/gist_id}","starred_url":"https://api.github.com/users/turingsmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingsmart/subscriptions","organizations_url":"https://api.github.com/users/turingsmart/orgs","repos_url":"https://api.github.com/users/turingsmart/repos","events_url":"https://api.github.com/users/turingsmart/events{/privacy}","received_events_url":"https://api.github.com/users/turingsmart/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/deeplearning4j/nd4j/labels/0.4r3.9","name":"0.4r3.9","color":"fef2c0"},{"url":"https://api.github.com/repos/deeplearning4j/nd4j/labels/bug","name":"bug","color":"d93f0b"}],"state":"open","locked":false,"assignee":{"login":"raver119","id":12250879,"avatar_url":"https://avatars.githubusercontent.com/u/12250879?v=3","gravatar_id":"","url":"https://api.github.com/users/raver119","html_url":"https://github.com/raver119","followers_url":"https://api.github.com/users/raver119/followers","following_url":"https://api.github.com/users/raver119/following{/other_user}","gists_url":"https://api.github.com/users/raver119/gists{/gist_id}","starred_url":"https://api.github.com/users/raver119/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raver119/subscriptions","organizations_url":"https://api.github.com/users/raver119/orgs","repos_url":"https://api.github.com/users/raver119/repos","events_url":"https://api.github.com/users/raver119/events{/privacy}","received_events_url":"https://api.github.com/users/raver119/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2016-04-15T15:03:45Z","updated_at":"2016-04-25T13:39:07Z","closed_at":null,"body":"Hey, \r\n\r\n![leak10](https://cloud.githubusercontent.com/assets/1404414/14565490/fe1220be-0348-11e6-8525-0dfd635e1460.png)\r\nAttached below is a screenshot of yourkit profiler. Function vstack is taking around 8 Gb of space. It is a web-based java application and the methods in concern are all static. Please suggest some possible fix. Tried on latest nd4j-jblas and nd4j-x86 versions. Both result is huge memory leaks.\r\n\r\nThanks,\r\nShashank\r\n"},"comment":{"url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/comments/214331536","html_url":"https://github.com/deeplearning4j/nd4j/issues/834#issuecomment-214331536","issue_url":"https://api.github.com/repos/deeplearning4j/nd4j/issues/834","id":214331536,"user":{"login":"saudet","id":3328023,"avatar_url":"https://avatars.githubusercontent.com/u/3328023?v=3","gravatar_id":"","url":"https://api.github.com/users/saudet","html_url":"https://github.com/saudet","followers_url":"https://api.github.com/users/saudet/followers","following_url":"https://api.github.com/users/saudet/following{/other_user}","gists_url":"https://api.github.com/users/saudet/gists{/gist_id}","starred_url":"https://api.github.com/users/saudet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saudet/subscriptions","organizations_url":"https://api.github.com/users/saudet/orgs","repos_url":"https://api.github.com/users/saudet/repos","events_url":"https://api.github.com/users/saudet/events{/privacy}","received_events_url":"https://api.github.com/users/saudet/received_events","type":"User","site_admin":false},"created_at":"2016-04-25T13:39:07Z","updated_at":"2016-04-25T13:39:07Z","body":"I've added a couple of methods to help diagnose this: https://github.com/bytedeco/javacpp/commit/ed4efbc7edbf208ef4d847e1dacf9265c9ddf19e"}}