疑难解答ASP.net可能的内存泄漏 [英] Troubleshoot ASP.net possible memory leak

查看:181
本文介绍了疑难解答ASP.net可能的内存泄漏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

它看起来像有一个与我们的Web应用程序的一个可能的内存泄漏。 w3wp.exe的是取约的RAM和1.5GB我们的Web服务返回一个错误,指出它是内存不足。有没有一种方法来确定哪些应用程序导致了过多的内存或分析的积极跑动网站,看看内存问题的原因是什么?

It looks like there is a possible memory leak with one of our web applications. w3wp.exe is taking about 1.5gb of RAM and our web services are returning an error saying that it is out of memory. Is there a way to determine which application is causing the excessive memory or profile the actively running websites to see what the cause of the memory issue is?

我会张贴此对服务器故障,但我更感兴趣的是调试应用程序,看看那里的故障的一种方式。我可以在本地运行的网站和程序w3wp.exe并不需要的内存过量。这些都是积极的网站/网络服务,这是在不断的使用,所以我假设问题只会过度负荷显示出来。

I would post this on Server Fault, but I am more interested in a way of debugging the application to see where the fault is. I can run the websites locally and w3wp.exe does not take excessive amounts of RAM. These are active websites / web services that are in constant use, so I am assuming that the problem will only show up with excessive load.

推荐答案

的<一个href=\"http://www.microsoft.com/downloads/details.aspx?FamilyID=28BD5941-C458-46F1-B24D-F60151D875A3&displaylang=en\"相对=nofollow>调试诊断工具包也正是为此而设计的。

The Debug Diagnostics Toolkit is designed exactly for this purpose.

有一个公平的几篇文章围绕如何使用该工具包:

There are a fair few articles around on how to use the toolkit:

  • http://support.microsoft.com/kb/919792

这篇关于疑难解答ASP.net可能的内存泄漏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆