Questions tagged «memory-profiling»

4
如何使用转储文件诊断内存泄漏?
我有一个.NET服务,其正常的私有工作集约为80 MB。在最近的负载测试中,该过程达到3.5 GB的内存使用量,导致整台计算机的物理内存不足(已使用4 GB的3.9),并且在负载测试停止后很长时间没有释放内存。使用任务管理器,我获取了该过程的转储文件,并在Visual Studio 2010 SP1中将其打开,然后就可以开始对其进行调试了。 如何诊断内存问题?我可以使用dotTrace Memory 3.x,它是否支持对转储文件进行内存分析?如果没有,Visual Studio 2010 Premium的内存配置功能是否会有所帮助(我目前拥有专业版)?WinDbg可以提供帮助吗? 更新:新的Visual Studio 2013 Ultimate现在可以使用转储文件本地诊断内存问题。有关更多详细信息,请参见此博客文章。
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.