问题是IIS worker会消耗大量内存。在使用VMMAP检查w3wp进程后,我注意到私有WS的最大组件是托管堆,即GC内存。
此外,我使用性能监控检查了w3wp进程,结果如下:
# Bytes in All Heaps : 32MB
# Gen 0 Collections : 4
# Gen 1 Collections : 3
# Gen 2 Collections : 2
Gen 0 Heap Size 570MB
Gen 1 Heap Size 5MB
Gen 2 Heap Size 26MB
Active Sessions : 4
Gen 0堆大小随着每个新会话的增加而增加。峰值出现在