microsoft / ApplicationInsights-dotnet

ApplicationInsights-dotnet
MIT License
565 stars 287 forks source link

GRPC Memory Leak #2841

Open MarioGK opened 10 months ago

MarioGK commented 10 months ago

Describe the bug

In an asp.net GRPC server with AppInsights configured, app insights will slowly leak memory, changing the garbage collector type mitigates a little bit of the problem (false) but the leak still happens.

To Reproduce

This is the repository with the minimal reproduction code so that the memory leak happens: https://github.com/MarioGK/AppInsightsMemoryLeak

The repository was tested inside a Linux container using the official docker image and on an arch Linux workstation, and i believe the same issue happens in windows as well.

If you need any more information or has doubts feel free to contact me

phnogues commented 9 months ago

Hi Mario, did you found a solution ?

I have probably the same problem

Thanks