System.OutOfMemoryException由于ASP.NET辅助进程 [英] System.OutOfMemoryException due to asp.net worker process

查看:122
本文介绍了System.OutOfMemoryException由于ASP.NET辅助进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果两个aspnet_wp.exe进程正在Web服务器中运行是否正常?这里发生的事情是其中一个过程逐渐消耗了太多内存.最终,当我尝试访问该网站时,我收到System.OutOfMemoryException.

Is it normal if two aspnet_wp.exe process are running in web server? what happened here is that one of the process gradually consuming too much memory. eventually i receive System.OutOfMemoryException when i attempt to acess the web site.

有什么想法吗?

推荐答案

应用程序出现内存不足的原因有很多,其中许多原因都无法通过任务管理器,进程监视器或性能来发现监视器.

There could be any number of reasons for your app running out of memory, many of which aren't going to be discovered using task manager, process monitor or performance monitor.

要了解实际情况,您需要使用

To find out what is truly happening you need to either profile the application using a tool such as Ants Memory Profiler or dig deeper and capture a process dump to analyse in WinDbg + SOS.

苔丝·费兰德斯(Tess Ferrandez)撰写了许多有关如何解决此类问题的文章:

Tess Ferrandez has a great series of articles on how to get to the bottom of such problems:

如果损坏,则应修复-内存问题

还有一系列不错的教程,可帮助您开始使用ADPlus,WinDBG和SOS:

There's also a nice series of tutorials to get you started with ADPlus, WinDBG and SOS:

.NET调试演示实验3:内存
. NET调试演示实验6:内存泄漏
. NET调试演示实验7:内存泄漏

.NET Debugging Demos - Information and setup instructions
.NET Debugging Demos Lab 3: Memory
.NET Debugging Demos Lab 6: Memory Leak
.NET Debugging Demos Lab 7: Memory Leak

这篇关于System.OutOfMemoryException由于ASP.NET辅助进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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