发生异常时Azure Application Insights的奇怪行为

问题描述 投票:0回答:1

我有部署在Azure App Service上的ASP.NET Web API应用程序。为此,我使用免费计划。我也开启了Application Insights。我注意到,当发生异常并打开Application Insights时,该应用程序会吞噬大约1.7 GB的内存。因此,超出了配额。当我关闭Application Insights并引发异常时,一切正常。

azure-application-insights
1个回答
0
投票

您可能启用了Snapshot Debugger,有时在ApplicationInsights跟踪异常时会创建内存转储。该功能不适用于免费计划。

要禁用它,请转到App服务中的“Application Insights”页面并禁用“Snapshot Debugger”。

© www.soinside.com 2019 - 2024. All rights reserved.