我有一个.net应用程序(运行作为Windows服务)。不时启动的内存泄漏(使用1GB的RAM +)。如何找到这个内存泄漏的原因是什么?哪些工具在那里,你怎么使用?
I have a .net application (running as a windows service). From time to time it starts memory leaking (using 1GB+ of RAM). How do I find the cause of this memory leak? Which tools are there and how do you use them?
我用 WinDbg的和SOS-extesion成功在.NET应用程序调试memoryleaks。
I used WinDbg and the SOS-extesion with success for debugging memoryleaks in .NET applications.
看一看这里和这里得到一个开始。我还建议苔丝Ferrandez的博客了解更多有关调试.NET使用的WinDbg
Have a look here and here to get a start. I also recommend Tess Ferrandez' blog for more information about debugging .NET with WinDbg