{"action":"created","issue":{"url":"https://api.github.com/repos/justeat/JustSaying/issues/206","repository_url":"https://api.github.com/repos/justeat/JustSaying","labels_url":"https://api.github.com/repos/justeat/JustSaying/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/justeat/JustSaying/issues/206/comments","events_url":"https://api.github.com/repos/justeat/JustSaying/issues/206/events","html_url":"https://github.com/justeat/JustSaying/issues/206","id":157939923,"number":206,"title":"IHandlerResolver should support releasing handlers","user":{"login":"codedemonuk","id":723401,"avatar_url":"https://avatars.githubusercontent.com/u/723401?v=3","gravatar_id":"","url":"https://api.github.com/users/codedemonuk","html_url":"https://github.com/codedemonuk","followers_url":"https://api.github.com/users/codedemonuk/followers","following_url":"https://api.github.com/users/codedemonuk/following{/other_user}","gists_url":"https://api.github.com/users/codedemonuk/gists{/gist_id}","starred_url":"https://api.github.com/users/codedemonuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codedemonuk/subscriptions","organizations_url":"https://api.github.com/users/codedemonuk/orgs","repos_url":"https://api.github.com/users/codedemonuk/repos","events_url":"https://api.github.com/users/codedemonuk/events{/privacy}","received_events_url":"https://api.github.com/users/codedemonuk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"payman81","id":1409971,"avatar_url":"https://avatars.githubusercontent.com/u/1409971?v=3","gravatar_id":"","url":"https://api.github.com/users/payman81","html_url":"https://github.com/payman81","followers_url":"https://api.github.com/users/payman81/followers","following_url":"https://api.github.com/users/payman81/following{/other_user}","gists_url":"https://api.github.com/users/payman81/gists{/gist_id}","starred_url":"https://api.github.com/users/payman81/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/payman81/subscriptions","organizations_url":"https://api.github.com/users/payman81/orgs","repos_url":"https://api.github.com/users/payman81/repos","events_url":"https://api.github.com/users/payman81/events{/privacy}","received_events_url":"https://api.github.com/users/payman81/received_events","type":"User","site_admin":false},"milestone":null,"comments":22,"created_at":"2016-06-01T15:41:05Z","updated_at":"2016-06-14T14:17:39Z","closed_at":null,"body":"IHandlerResolver has no method to allow the resolved handler to be released.  This can cause memory leaks in IoC containers such as Ninject, Windsor where you need to release components.\r\n\r\nWould it be possible to add a release method to the IHandlerResolver and use that to allow handlers to be explicitly released by their IoC containers when people implement their own IHandlerResolvers."},"comment":{"url":"https://api.github.com/repos/justeat/JustSaying/issues/comments/225895340","html_url":"https://github.com/justeat/JustSaying/issues/206#issuecomment-225895340","issue_url":"https://api.github.com/repos/justeat/JustSaying/issues/206","id":225895340,"user":{"login":"dariusdamalakas","id":131102,"avatar_url":"https://avatars.githubusercontent.com/u/131102?v=3","gravatar_id":"","url":"https://api.github.com/users/dariusdamalakas","html_url":"https://github.com/dariusdamalakas","followers_url":"https://api.github.com/users/dariusdamalakas/followers","following_url":"https://api.github.com/users/dariusdamalakas/following{/other_user}","gists_url":"https://api.github.com/users/dariusdamalakas/gists{/gist_id}","starred_url":"https://api.github.com/users/dariusdamalakas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dariusdamalakas/subscriptions","organizations_url":"https://api.github.com/users/dariusdamalakas/orgs","repos_url":"https://api.github.com/users/dariusdamalakas/repos","events_url":"https://api.github.com/users/dariusdamalakas/events{/privacy}","received_events_url":"https://api.github.com/users/dariusdamalakas/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T14:17:39Z","updated_at":"2016-06-14T14:17:39Z","body":"@codedemonuk \r\n>This results in a memory leak because the CLR garbage collection will not collect these transient objects because Windsor will always have a reference to the object.\r\n> <..> the application will work for a few weeks until the server memory fills up and the application crashes.\r\n\r\nWhat we could do nail down the issue and have some proof that this is the issue we could replace the engine to cut out the AWS and start feeding dummy messages, and run this in a loop. Perhaps a test marked as ignored/manual would be best here. We could run this with debugger/profiler attached and quickly see if running this over millions of messages results in increased memory usage."}}
{"actor":{"display_login":"dariusdamalakas"}}