microsoft / service-fabric-services-and-actors-dotnet

Reliable Services and Reliable Actors are Service Fabric application frameworks for building highly-scalable distributed cloud applications.
Other
269 stars 115 forks source link

Dynamic types emitted for IServices proxies #361

Open kdma opened 8 months ago

kdma commented 8 months ago

Describe the bug

This is more of a question because I am not sure if this is a bug. Our cluster had memory leaks so I investigated a lot of memory dumps and fixed it. At the moment the memory is no longer leaking but I've noticed that some services have a large memory footprint caused by the many IService proxied. Example: image

Is this the expected behaviour? Are the types never unloaded?