I've noticed that when using a repeated field in a streaming service in gRPC that the application consumes a LOT of memory in c#. (Since the GC is very slow to start clearing memory. Doesnt happen until Im about to run out of RAM.) The reason is that it is not possible to re-use a repetaed field datastructure and just replace the content (at least not in a fast way). Atleast so I think, please correct me if Im wrong.
In the C++ API one can access the underlying data container but not in the c# API. Is there a reason for that?