How to debug Azure Web App memory leaks?

前端 未结 4 851
广开言路
广开言路 2021-02-14 15:02

There is the excellent Start Profiling button in the SCM portal that works perfect for CPU.

Then there are some sources that refer to a Downl

4条回答
  •  孤独总比滥情好
    2021-02-14 16:07

    Try using Kudu console. Go to https://[sitename].scm.azurewebsites.net/support Click Analyze -> Dignostics -> Settings. Make sure Memory dumps is checked And then Click Dignose Now. This will work only in Basic plan and above (Not available for free plan) After some time you will get the dump Open the downloaded file with Visual studio and select "Debug managed memory". You can then see the details.

提交回复
热议问题