Reproducing the issue:
- 重啟IIS (IISReset)
- 瀏覽http://localhost/BuggyBits/AllProducts.aspx
- 當瀏覽這個網頁時,觀看工作管理員的CPU使用率
- Q: What is the CPU usage like for w3wp.exe during the processing of this request?
- A: Very high, approaching 100%
Set up a performance counter log:
- 參考.NET Debugging Demos Lab 3: Memory - Review 並設置performance counter log
Prepare to gather a memory dump:
- 開啟cmd.exe並移至debuggers 目錄並輸入adplus -hang -pn w3wp.exe -quiet -o D:\Dump但不要按下enter