{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primeng/issues/1780","repository_url":"https://api.github.com/repos/primefaces/primeng","labels_url":"https://api.github.com/repos/primefaces/primeng/issues/1780/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primeng/issues/1780/comments","events_url":"https://api.github.com/repos/primefaces/primeng/issues/1780/events","html_url":"https://github.com/primefaces/primeng/issues/1780","id":199958615,"number":1780,"title":"[Bug] Memory leak in DataTable with column template","user":{"login":"vijayrajaram","id":4430524,"avatar_url":"https://avatars.githubusercontent.com/u/4430524?v=3","gravatar_id":"","url":"https://api.github.com/users/vijayrajaram","html_url":"https://github.com/vijayrajaram","followers_url":"https://api.github.com/users/vijayrajaram/followers","following_url":"https://api.github.com/users/vijayrajaram/following{/other_user}","gists_url":"https://api.github.com/users/vijayrajaram/gists{/gist_id}","starred_url":"https://api.github.com/users/vijayrajaram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijayrajaram/subscriptions","organizations_url":"https://api.github.com/users/vijayrajaram/orgs","repos_url":"https://api.github.com/users/vijayrajaram/repos","events_url":"https://api.github.com/users/vijayrajaram/events{/privacy}","received_events_url":"https://api.github.com/users/vijayrajaram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-01-10T23:03:00Z","updated_at":"2017-01-18T03:11:08Z","closed_at":null,"body":"**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => Search github for a similar issue or PR before submitting\r\n[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap\r\n[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35\r\n```\r\n\r\n**Plunkr Case (Bug Reports)**\r\nhttp://plnkr.co/edit/FXJ77oxdDqRkieGAWUiT?p=preview\r\n\r\n**Current behavior**\r\nWhen the underlying data source of the DataTable component with column template gets updated frequently (by a socket push or polling) there is a memory leak and the browser gets crashed eventually. Try Plunker link above to see the issue in action\r\n\r\n**Expected behavior**\r\nExpected behavior is that there is no memory leak.\r\n\r\n**Minimal reproduction of the problem with instructions**\r\nRun the issue demo http://plnkr.co/edit/FXJ77oxdDqRkieGAWUiT?p=preview.\r\nThe 30 sec timer in the code keeps updating the data in the DataTable\r\nIn Chrome browser take Heap snapshot every time the data gets updated on the DataTable\r\nYou would notice the heap memory increase substantial and the browser eventually crash.\r\n\r\n* **Angular version:** 2.4.1\r\n\r\n* **PrimeNG version:** 1.1.4\r\n\r\n* **Browser:** [Chrome 44.0.2403.125]\r\n\r\n* **Language:** [ TypeScript 2.0.10 |ES6]\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primeng/issues/comments/273371017","html_url":"https://github.com/primefaces/primeng/issues/1780#issuecomment-273371017","issue_url":"https://api.github.com/repos/primefaces/primeng/issues/1780","id":273371017,"user":{"login":"valjohn","id":25191007,"avatar_url":"https://avatars.githubusercontent.com/u/25191007?v=3","gravatar_id":"","url":"https://api.github.com/users/valjohn","html_url":"https://github.com/valjohn","followers_url":"https://api.github.com/users/valjohn/followers","following_url":"https://api.github.com/users/valjohn/following{/other_user}","gists_url":"https://api.github.com/users/valjohn/gists{/gist_id}","starred_url":"https://api.github.com/users/valjohn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/valjohn/subscriptions","organizations_url":"https://api.github.com/users/valjohn/orgs","repos_url":"https://api.github.com/users/valjohn/repos","events_url":"https://api.github.com/users/valjohn/events{/privacy}","received_events_url":"https://api.github.com/users/valjohn/received_events","type":"User","site_admin":false},"created_at":"2017-01-18T03:11:08Z","updated_at":"2017-01-18T03:11:08Z","body":"We have the same issue. A crashing browser is a show stopper. Can't move ahead with PrimeNG as a choice for our application with this. Hope this gets fixed soon. "}}
{"actor":{"display_login":"valjohn"}}