hi all:
I have 3 grpc c++ servers(A/B/C) and they work as in broadcast model: the client sent every request to serverA, and serverA then broadcast the request the serverB & serverC in an asynchronous way.
Client
|
A
/ \
/ \
B C
but ServerA seems get a memory leak problem: every 40k requests from client will make its memory gain about 5m~8m. I examined a lot on serverA 's code, but cannot find anything wrong.
Can anyone help take a look at my code(attchmented)?
Env:
os: win10
grpc:1.21.x
lang: c++