{"action":"created","issue":{"url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/42","repository_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard","labels_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/42/comments","events_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/42/events","html_url":"https://github.com/FormidableLabs/nodejs-dashboard/issues/42","id":186514924,"number":42,"title":"Memory leak ","user":{"login":"forz13","id":8948915,"avatar_url":"https://avatars.githubusercontent.com/u/8948915?v=3","gravatar_id":"","url":"https://api.github.com/users/forz13","html_url":"https://github.com/forz13","followers_url":"https://api.github.com/users/forz13/followers","following_url":"https://api.github.com/users/forz13/following{/other_user}","gists_url":"https://api.github.com/users/forz13/gists{/gist_id}","starred_url":"https://api.github.com/users/forz13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forz13/subscriptions","organizations_url":"https://api.github.com/users/forz13/orgs","repos_url":"https://api.github.com/users/forz13/repos","events_url":"https://api.github.com/users/forz13/events{/privacy}","received_events_url":"https://api.github.com/users/forz13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-11-01T11:43:19Z","updated_at":"2016-11-01T16:51:34Z","closed_at":null,"body":"- **Node Version**: Node v6.9.1\r\n- **Package version**: v0.1.1\r\n- **Platform**: SMP Debian 3.2.81-1 x86_64 GNU/Linux\r\nWhen I required this package, the memory began to grow slowly\r\n`const dashboard = require(\"nodejs-dashboard\");`\r\n**Memory schedule**\r\n![deepinscreenshot-5958](https://cloud.githubusercontent.com/assets/8948915/19888612/281512fc-a049-11e6-9ea3-52613341c9c7.png)\r\n**Comparison of 2 heap shapshots**\r\n![0740fd1b21](https://cloud.githubusercontent.com/assets/8948915/19888628/4e85a956-a049-11e6-9153-94459267bf9d.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/comments/257621303","html_url":"https://github.com/FormidableLabs/nodejs-dashboard/issues/42#issuecomment-257621303","issue_url":"https://api.github.com/repos/FormidableLabs/nodejs-dashboard/issues/42","id":257621303,"user":{"login":"jasonwilson","id":1151656,"avatar_url":"https://avatars.githubusercontent.com/u/1151656?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonwilson","html_url":"https://github.com/jasonwilson","followers_url":"https://api.github.com/users/jasonwilson/followers","following_url":"https://api.github.com/users/jasonwilson/following{/other_user}","gists_url":"https://api.github.com/users/jasonwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonwilson/subscriptions","organizations_url":"https://api.github.com/users/jasonwilson/orgs","repos_url":"https://api.github.com/users/jasonwilson/repos","events_url":"https://api.github.com/users/jasonwilson/events{/privacy}","received_events_url":"https://api.github.com/users/jasonwilson/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T16:51:34Z","updated_at":"2016-11-01T16:51:34Z","body":"Thanks for filing this issue @forz13. Can you provide a little more detail? From the graph above it appears that memory is decreasing over time. Each telemetry event will create a new string to hold the data. I might be able to optimize this by writing to a reusable buffer instead."}}
{"actor":{"display_login":"jasonwilson"}}