You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a production web app that is exhibiting symptoms of a memory leak and this appears to be related to objects connected to ApplicationInsights.
Having taken numerous memory dumps from the Azure app service (using JetBrains dotMemory) we can see a common theme that memory is being retained by a large number of objects.
Largest Retained Memory used by (in last test run, approx 25k) objects as below:
AzureSdkDiagnosticsEventHandler
DiagnosticListener
DiagnosticListener+DiagnosticSubscription
The text was updated successfully, but these errors were encountered:
I was creating new instances of CryptgraphyClient each time I wanted to perform client-side encryption of a blob using a number of different encryption keys, but when I changed the code to reuse instances as much as possible, the problem went away.
This issue is stale because it has been open 300 days with no activity. Remove stale label or this will be closed in 7 days. Commenting will instruct the bot to automatically remove the label.
Runtime version: netcoreapp3.1 - 3.1.112
Build agents sdk: 3.1.404
Hosting environment: Azure app service
Nuget packages
We have a production web app that is exhibiting symptoms of a memory leak and this appears to be related to objects connected to ApplicationInsights.
Having taken numerous memory dumps from the Azure app service (using JetBrains dotMemory) we can see a common theme that memory is being retained by a large number of objects.
Largest Retained Memory used by (in last test run, approx 25k) objects as below:
The text was updated successfully, but these errors were encountered: