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?   

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/e96b66ac-1836-4b99-807f-7dba3f968fc0n%40googlegroups.com.

Reply via email to