我的服务器上有一个网站,我的IIS工作进程一直使用4GB RAM.我该怎么检查?
c:\windows\system32\inetsrv\w3wp.exe
解决方法
我会在
document Gulzar中提到的CLR调整科.
正如其他海报指出的,任何实现IDispose的对象在完成后都应该使用Dispose(),最好使用using构造.
启动perfmon.exe并添加这些计数器:
- Process\Private Bytes
- .NET CLR Memory# Bytes in all Heaps
- Process\Working Set
- .NET CLR Memory\Large Object Heap size
An increase in Private Bytes while the
number of Bytes in all Heaps counter remains the same indicates unmanaged
memory consumption.An increase in both counters indicates managed memory consumption