{"action":"created","issue":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/2605","repository_url":"https://api.github.com/repos/handsontable/handsontable","labels_url":"https://api.github.com/repos/handsontable/handsontable/issues/2605/labels{/name}","comments_url":"https://api.github.com/repos/handsontable/handsontable/issues/2605/comments","events_url":"https://api.github.com/repos/handsontable/handsontable/issues/2605/events","html_url":"https://github.com/handsontable/handsontable/issues/2605","id":92629567,"number":2605,"title":"Memory Leak in Editor Instance Cache","user":{"login":"baac0","id":13137666,"avatar_url":"https://avatars.githubusercontent.com/u/13137666?v=3","gravatar_id":"","url":"https://api.github.com/users/baac0","html_url":"https://github.com/baac0","followers_url":"https://api.github.com/users/baac0/followers","following_url":"https://api.github.com/users/baac0/following{/other_user}","gists_url":"https://api.github.com/users/baac0/gists{/gist_id}","starred_url":"https://api.github.com/users/baac0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baac0/subscriptions","organizations_url":"https://api.github.com/users/baac0/orgs","repos_url":"https://api.github.com/users/baac0/repos","events_url":"https://api.github.com/users/baac0/events{/privacy}","received_events_url":"https://api.github.com/users/baac0/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Core:%20handsontable","name":"Core: handsontable","color":"009800"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Priority:%20normal","name":"Priority: normal","color":"fbca04"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Type:%20Assistance%20needed","name":"Type: Assistance needed","color":"0052cc"},{"url":"https://api.github.com/repos/handsontable/handsontable/labels/Type:%20Bug","name":"Type: Bug","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"swistach","id":11849621,"avatar_url":"https://avatars.githubusercontent.com/u/11849621?v=3","gravatar_id":"","url":"https://api.github.com/users/swistach","html_url":"https://github.com/swistach","followers_url":"https://api.github.com/users/swistach/followers","following_url":"https://api.github.com/users/swistach/following{/other_user}","gists_url":"https://api.github.com/users/swistach/gists{/gist_id}","starred_url":"https://api.github.com/users/swistach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swistach/subscriptions","organizations_url":"https://api.github.com/users/swistach/orgs","repos_url":"https://api.github.com/users/swistach/repos","events_url":"https://api.github.com/users/swistach/events{/privacy}","received_events_url":"https://api.github.com/users/swistach/received_events","type":"User","site_admin":false},"assignees":[{"login":"swistach","id":11849621,"avatar_url":"https://avatars.githubusercontent.com/u/11849621?v=3","gravatar_id":"","url":"https://api.github.com/users/swistach","html_url":"https://github.com/swistach","followers_url":"https://api.github.com/users/swistach/followers","following_url":"https://api.github.com/users/swistach/following{/other_user}","gists_url":"https://api.github.com/users/swistach/gists{/gist_id}","starred_url":"https://api.github.com/users/swistach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swistach/subscriptions","organizations_url":"https://api.github.com/users/swistach/orgs","repos_url":"https://api.github.com/users/swistach/repos","events_url":"https://api.github.com/users/swistach/events{/privacy}","received_events_url":"https://api.github.com/users/swistach/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/handsontable/handsontable/milestones/61","html_url":"https://github.com/handsontable/handsontable/milestones/Backlog","labels_url":"https://api.github.com/repos/handsontable/handsontable/milestones/61/labels","id":1736063,"number":61,"title":"Backlog","description":"","creator":{"login":"krzysztofspilka","id":8048526,"avatar_url":"https://avatars.githubusercontent.com/u/8048526?v=3","gravatar_id":"","url":"https://api.github.com/users/krzysztofspilka","html_url":"https://github.com/krzysztofspilka","followers_url":"https://api.github.com/users/krzysztofspilka/followers","following_url":"https://api.github.com/users/krzysztofspilka/following{/other_user}","gists_url":"https://api.github.com/users/krzysztofspilka/gists{/gist_id}","starred_url":"https://api.github.com/users/krzysztofspilka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzysztofspilka/subscriptions","organizations_url":"https://api.github.com/users/krzysztofspilka/orgs","repos_url":"https://api.github.com/users/krzysztofspilka/repos","events_url":"https://api.github.com/users/krzysztofspilka/events{/privacy}","received_events_url":"https://api.github.com/users/krzysztofspilka/received_events","type":"User","site_admin":false},"open_issues":44,"closed_issues":7,"state":"open","created_at":"2016-04-28T11:19:49Z","updated_at":"2016-10-14T12:20:07Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2015-07-02T12:51:27Z","updated_at":"2016-10-14T13:32:28Z","closed_at":null,"body":"While creating and deleting many instances of Handsontable we've stumbled upon a possible memory leak:\r\n\r\n![editor_memory_leak](https://cloud.githubusercontent.com/assets/13137666/8477208/b6fc086a-20c8-11e5-9883-32c210cab958.PNG)\r\n\r\nIt appears the culprit is the instance cache of editors in file editors.js: for each instance of Handsontable a reference is kept in variable `instances` which does not get cleaned up when the table's `destroy` method is called.\r\n\r\nWe've detected this problem while testing on 0.12.4 but looking at the code I suspect it's still present in the latest version as well."},"comment":{"url":"https://api.github.com/repos/handsontable/handsontable/issues/comments/253799659","html_url":"https://github.com/handsontable/handsontable/issues/2605#issuecomment-253799659","issue_url":"https://api.github.com/repos/handsontable/handsontable/issues/2605","id":253799659,"user":{"login":"swistach","id":11849621,"avatar_url":"https://avatars.githubusercontent.com/u/11849621?v=3","gravatar_id":"","url":"https://api.github.com/users/swistach","html_url":"https://github.com/swistach","followers_url":"https://api.github.com/users/swistach/followers","following_url":"https://api.github.com/users/swistach/following{/other_user}","gists_url":"https://api.github.com/users/swistach/gists{/gist_id}","starred_url":"https://api.github.com/users/swistach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swistach/subscriptions","organizations_url":"https://api.github.com/users/swistach/orgs","repos_url":"https://api.github.com/users/swistach/repos","events_url":"https://api.github.com/users/swistach/events{/privacy}","received_events_url":"https://api.github.com/users/swistach/received_events","type":"User","site_admin":false},"created_at":"2016-10-14T13:32:28Z","updated_at":"2016-10-14T13:32:28Z","body":"Hi @baac0 and @tympollack \r\nWe checked this issue, but in our opinion everything works as we expected (in 0.28.4).\r\n"}}
{"actor":{"display_login":"swistach"}}