加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > asp.Net > 正文

asp.net – IIS工作进程使用大量的内存?

发布时间:2020-12-15 23:33:47 所属栏目:asp.Net 来源:网络整理
导读:我的服务器上有一个网站,我的IIS工作进程一直使用4GB RAM.我该怎么检查? c:windowssystem32inetsrvw3wp.exe 解决方法 我会在 document Gulzar中提到的CLR调整科. 正如其他海报指出的,任何实现IDispose的对象在完成后都应该使用Dispose(),最好使用using
我的服务器上有一个网站,我的IIS工作进程一直使用4GB RAM.我该怎么检查?
c:windowssystem32inetsrvw3wp.exe

解决方法

我会在 document Gulzar中提到的CLR调整科.

正如其他海报指出的,任何实现IDispose的对象在完成后都应该使用Dispose(),最好使用using构造.

启动perfmon.exe并添加这些计数器:

  • ProcessPrivate Bytes
  • .NET CLR Memory# Bytes in all Heaps
  • ProcessWorking Set
  • .NET CLR MemoryLarge 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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读