{"action":"created","issue":{"url":"https://api.github.com/repos/SignalR/SignalR/issues/3793","repository_url":"https://api.github.com/repos/SignalR/SignalR","labels_url":"https://api.github.com/repos/SignalR/SignalR/issues/3793/labels{/name}","comments_url":"https://api.github.com/repos/SignalR/SignalR/issues/3793/comments","events_url":"https://api.github.com/repos/SignalR/SignalR/issues/3793/events","html_url":"https://github.com/SignalR/SignalR/issues/3793","id":184305125,"number":3793,"title":"Possible Memory Leak when attempting to Continuously Reconnect","user":{"login":"sjones512","id":1839534,"avatar_url":"https://avatars.githubusercontent.com/u/1839534?v=3","gravatar_id":"","url":"https://api.github.com/users/sjones512","html_url":"https://github.com/sjones512","followers_url":"https://api.github.com/users/sjones512/followers","following_url":"https://api.github.com/users/sjones512/following{/other_user}","gists_url":"https://api.github.com/users/sjones512/gists{/gist_id}","starred_url":"https://api.github.com/users/sjones512/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjones512/subscriptions","organizations_url":"https://api.github.com/users/sjones512/orgs","repos_url":"https://api.github.com/users/sjones512/repos","events_url":"https://api.github.com/users/sjones512/events{/privacy}","received_events_url":"https://api.github.com/users/sjones512/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-20T18:27:36Z","updated_at":"2016-11-07T18:15:28Z","closed_at":null,"body":"Hello.\n\nWe are using the technique outlined in the [documentation](https://www.asp.net/signalr/overview/guide-to-the-api/handling-connection-lifetime-events#continuousreconnect) to attempt to continuously reconnect to the SignalR server. \n\nIn situations where the client is disconnected, and retrying, for an extended period of time, the client side JS memory usage climbs steadily.\n\nAttempting to investigate the issue, it looks like it has to do with onStart event handlers being leaked.\n\nI'm not sure where the issue is, but was wondering if you all had any insight.\n\nWe are seeing the issue with SignalR 2.2.0 and jquery 1.10.2.\n\nThanks for looking.\n\n![image](https://cloud.githubusercontent.com/assets/1839534/19572457/2c640822-96b7-11e6-8d50-05cfd67715ca.png)\n\n![image](https://cloud.githubusercontent.com/assets/1839534/19572638/f7111632-96b7-11e6-9e50-be3c64af6fb7.png)\n"},"comment":{"url":"https://api.github.com/repos/SignalR/SignalR/issues/comments/258916087","html_url":"https://github.com/SignalR/SignalR/issues/3793#issuecomment-258916087","issue_url":"https://api.github.com/repos/SignalR/SignalR/issues/3793","id":258916087,"user":{"login":"bigswede74","id":23264080,"avatar_url":"https://avatars.githubusercontent.com/u/23264080?v=3","gravatar_id":"","url":"https://api.github.com/users/bigswede74","html_url":"https://github.com/bigswede74","followers_url":"https://api.github.com/users/bigswede74/followers","following_url":"https://api.github.com/users/bigswede74/following{/other_user}","gists_url":"https://api.github.com/users/bigswede74/gists{/gist_id}","starred_url":"https://api.github.com/users/bigswede74/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigswede74/subscriptions","organizations_url":"https://api.github.com/users/bigswede74/orgs","repos_url":"https://api.github.com/users/bigswede74/repos","events_url":"https://api.github.com/users/bigswede74/events{/privacy}","received_events_url":"https://api.github.com/users/bigswede74/received_events","type":"User","site_admin":false},"created_at":"2016-11-07T18:15:28Z","updated_at":"2016-11-07T18:15:28Z","body":"I have submitted a pull request above. I tested this fix over a 72hr time period with the JS client continuously reconnecting every 5 seconds and the memory usage was stable."}}
{"actor":{"display_login":"bigswede74"}}