{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/2292","labels_url":"https://api.github.com/repos/grpc/grpc/issues/2292/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/2292/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/2292/events","html_url":"https://github.com/grpc/grpc/issues/2292","id":92633741,"number":2292,"title":"Unmanaged memory not released after message exchanged","user":{"login":"kanekotic","id":3071208,"avatar_url":"https://avatars.githubusercontent.com/u/3071208?v=3","gravatar_id":"","url":"https://api.github.com/users/kanekotic","html_url":"https://github.com/kanekotic","followers_url":"https://api.github.com/users/kanekotic/followers","following_url":"https://api.github.com/users/kanekotic/following{/other_user}","gists_url":"https://api.github.com/users/kanekotic/gists{/gist_id}","starred_url":"https://api.github.com/users/kanekotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanekotic/subscriptions","organizations_url":"https://api.github.com/users/kanekotic/orgs","repos_url":"https://api.github.com/users/kanekotic/repos","events_url":"https://api.github.com/users/kanekotic/events{/privacy}","received_events_url":"https://api.github.com/users/kanekotic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-02T13:10:58Z","updated_at":"2015-07-08T12:52:46Z","closed_at":null,"body":"Profiling my C# application I have come across that the unmanaged memory, is increasing quite rapidly starting on the moment that messages are exchanged between client and server application (please find the next snapshots that explain the behaviour in memory)\r\n\r\n1. Server initial state (no messages) :\r\n![server_1](https://cloud.githubusercontent.com/assets/3071208/8477281/361cc670-20c9-11e5-8de3-9b3ca54821d7.PNG)\r\n\r\n2. Server starting exchange of messages:\r\n![server_2](https://cloud.githubusercontent.com/assets/3071208/8477327/811ceda8-20c9-11e5-9eb0-6cbf775a5ea3.PNG)\r\n\r\n3. continuous exchanged of messages:\r\n![server_3](https://cloud.githubusercontent.com/assets/3071208/8477344/a59b4e7c-20c9-11e5-95ad-97fb271e24d0.PNG)\r\n\r\n4. after client app kill or crash:\r\n![server_4](https://cloud.githubusercontent.com/assets/3071208/8477347/b1adead0-20c9-11e5-8143-545644fc42df.PNG)\r\n\r\nThe output is that betweent 4 and 8 minutes of continous exchange of messages there is a c++exception (shon on C# by Grpc.Core.RpcException {\"Status(StatusCode=Unavailable, Detail=\\\"\\\")\"}. \r\n\r\nI've check if I was doing something strange, but with or without opening a new channel per message the behaviour is the same. As per my understanding there is non other IDisposable element that could be cleared. "},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/119568673","html_url":"https://github.com/grpc/grpc/issues/2292#issuecomment-119568673","issue_url":"https://api.github.com/repos/grpc/grpc/issues/2292","id":119568673,"user":{"login":"kanekotic","id":3071208,"avatar_url":"https://avatars.githubusercontent.com/u/3071208?v=3","gravatar_id":"","url":"https://api.github.com/users/kanekotic","html_url":"https://github.com/kanekotic","followers_url":"https://api.github.com/users/kanekotic/followers","following_url":"https://api.github.com/users/kanekotic/following{/other_user}","gists_url":"https://api.github.com/users/kanekotic/gists{/gist_id}","starred_url":"https://api.github.com/users/kanekotic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanekotic/subscriptions","organizations_url":"https://api.github.com/users/kanekotic/orgs","repos_url":"https://api.github.com/users/kanekotic/repos","events_url":"https://api.github.com/users/kanekotic/events{/privacy}","received_events_url":"https://api.github.com/users/kanekotic/received_events","type":"User","site_admin":false},"created_at":"2015-07-08T12:52:46Z","updated_at":"2015-07-08T12:52:46Z","body":"any update?...this is for me a critical bug? it crashes an app in less than 10 min (and i am just trying with one string + int32). Let me know because if its not going to be solved i will need to use another RPC."}}