{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc/issues/13319","repository_url":"https://api.github.com/repos/grpc/grpc","labels_url":"https://api.github.com/repos/grpc/grpc/issues/13319/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc/issues/13319/comments","events_url":"https://api.github.com/repos/grpc/grpc/issues/13319/events","html_url":"https://github.com/grpc/grpc/issues/13319","id":272454405,"number":13319,"title":"grpc memory leak and connection problem","user":{"login":"Rhysol","id":11569253,"avatar_url":"https://avatars0.githubusercontent.com/u/11569253?v=4","gravatar_id":"","url":"https://api.github.com/users/Rhysol","html_url":"https://github.com/Rhysol","followers_url":"https://api.github.com/users/Rhysol/followers","following_url":"https://api.github.com/users/Rhysol/following{/other_user}","gists_url":"https://api.github.com/users/Rhysol/gists{/gist_id}","starred_url":"https://api.github.com/users/Rhysol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rhysol/subscriptions","organizations_url":"https://api.github.com/users/Rhysol/orgs","repos_url":"https://api.github.com/users/Rhysol/repos","events_url":"https://api.github.com/users/Rhysol/events{/privacy}","received_events_url":"https://api.github.com/users/Rhysol/received_events","type":"User","site_admin":false},"labels":[{"id":155504842,"url":"https://api.github.com/repos/grpc/grpc/labels/kind/bug","name":"kind/bug","color":"93732c","default":false},{"id":166332908,"url":"https://api.github.com/repos/grpc/grpc/labels/lang/c++","name":"lang/c++","color":"fad8c7","default":false},{"id":168275588,"url":"https://api.github.com/repos/grpc/grpc/labels/priority/P1","name":"priority/P1","color":"ff0000","default":false}],"state":"closed","locked":false,"assignee":{"login":"dgquintas","id":120217,"avatar_url":"https://avatars3.githubusercontent.com/u/120217?v=4","gravatar_id":"","url":"https://api.github.com/users/dgquintas","html_url":"https://github.com/dgquintas","followers_url":"https://api.github.com/users/dgquintas/followers","following_url":"https://api.github.com/users/dgquintas/following{/other_user}","gists_url":"https://api.github.com/users/dgquintas/gists{/gist_id}","starred_url":"https://api.github.com/users/dgquintas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgquintas/subscriptions","organizations_url":"https://api.github.com/users/dgquintas/orgs","repos_url":"https://api.github.com/users/dgquintas/repos","events_url":"https://api.github.com/users/dgquintas/events{/privacy}","received_events_url":"https://api.github.com/users/dgquintas/received_events","type":"User","site_admin":false},"assignees":[{"login":"dgquintas","id":120217,"avatar_url":"https://avatars3.githubusercontent.com/u/120217?v=4","gravatar_id":"","url":"https://api.github.com/users/dgquintas","html_url":"https://github.com/dgquintas","followers_url":"https://api.github.com/users/dgquintas/followers","following_url":"https://api.github.com/users/dgquintas/following{/other_user}","gists_url":"https://api.github.com/users/dgquintas/gists{/gist_id}","starred_url":"https://api.github.com/users/dgquintas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgquintas/subscriptions","organizations_url":"https://api.github.com/users/dgquintas/orgs","repos_url":"https://api.github.com/users/dgquintas/repos","events_url":"https://api.github.com/users/dgquintas/events{/privacy}","received_events_url":"https://api.github.com/users/dgquintas/received_events","type":"User","site_admin":false},{"login":"hcaseyal","id":8952658,"avatar_url":"https://avatars2.githubusercontent.com/u/8952658?v=4","gravatar_id":"","url":"https://api.github.com/users/hcaseyal","html_url":"https://github.com/hcaseyal","followers_url":"https://api.github.com/users/hcaseyal/followers","following_url":"https://api.github.com/users/hcaseyal/following{/other_user}","gists_url":"https://api.github.com/users/hcaseyal/gists{/gist_id}","starred_url":"https://api.github.com/users/hcaseyal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hcaseyal/subscriptions","organizations_url":"https://api.github.com/users/hcaseyal/orgs","repos_url":"https://api.github.com/users/hcaseyal/repos","events_url":"https://api.github.com/users/hcaseyal/events{/privacy}","received_events_url":"https://api.github.com/users/hcaseyal/received_events","type":"User","site_admin":false}],"milestone":null,"comments":27,"created_at":"2017-11-09T06:32:30Z","updated_at":"2018-05-15T23:40:16Z","closed_at":"2018-05-15T16:53:04Z","author_association":"NONE","body":" My grpc version is  1.7.2 And running my program on centos7. \r\nHere is my demo code: https://github.com/Rhysol/GrpcDemo\r\n1. First ,I send 100k requests to my grpc server. Then I saw my server use almost 22% memory and did not release these memory before client disconnect. And I am sure these request has been responsed. After that I continue send the request  100k every time and did not disconnect from server. I send about 900k requests then my client been killed and the server release the memory .The server used almost 60% memory.\r\n\r\n2. I can run client and server in one system, it runs ok. But when I run client in another centos7 system, it can not connect to server and returns error code 14 and error message 'connect failed'.\r\n\r\nI don't know what's happend and I can't find too much useful information about connection in the grpc document. So I submit this issue.\r\n\r\n  "},"comment":{"url":"https://api.github.com/repos/grpc/grpc/issues/comments/389348314","html_url":"https://github.com/grpc/grpc/issues/13319#issuecomment-389348314","issue_url":"https://api.github.com/repos/grpc/grpc/issues/13319","id":389348314,"user":{"login":"ztao1987","id":11328679,"avatar_url":"https://avatars0.githubusercontent.com/u/11328679?v=4","gravatar_id":"","url":"https://api.github.com/users/ztao1987","html_url":"https://github.com/ztao1987","followers_url":"https://api.github.com/users/ztao1987/followers","following_url":"https://api.github.com/users/ztao1987/following{/other_user}","gists_url":"https://api.github.com/users/ztao1987/gists{/gist_id}","starred_url":"https://api.github.com/users/ztao1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ztao1987/subscriptions","organizations_url":"https://api.github.com/users/ztao1987/orgs","repos_url":"https://api.github.com/users/ztao1987/repos","events_url":"https://api.github.com/users/ztao1987/events{/privacy}","received_events_url":"https://api.github.com/users/ztao1987/received_events","type":"User","site_admin":false},"created_at":"2018-05-15T23:40:16Z","updated_at":"2018-05-15T23:40:16Z","author_association":"NONE","body":"@srini100 Does it work? If so, could you please help share this? currently I am blocked by the memory leak in grpc client side. "}}
{"actor":{"display_login":"ztao1987"}}