【问题标题】:Strange behavior of Azure Application Insights when an exception happens发生异常时 Azure Application Insights 的奇怪行为
【发布时间】:2019-02-26 11:45:29
【问题描述】:
我有部署在 Azure 应用服务上的 ASP.NET Web API 应用程序。为此,我使用免费计划。我还打开了 Application Insights。我注意到当发生异常并打开 Application Insights 时,该应用程序会消耗大约 1.7 GB 的内存。因此,超出了配额。当我关闭 Application Insights 并引发异常时,一切正常。
【问题讨论】:
标签:
azure-application-insights
【解决方案1】:
您可能启用了Snapshot Debugger,它有时会在 ApplicationInsights 跟踪异常时创建内存转储。该功能不适用于免费计划。
要禁用它,请转到应用服务内的“Application Insights”页面并禁用“Snapshot Debugger”。