开发者

How to find native memory leak in .net application?

开发者 https://www.devze.com 2023-01-01 21:53 出处:网络
I have application written in C#. Memory usage shows that开发者_StackOverflow中文版 there is a memory leak. However, dotTrace shows that managed memory is OK, so I think that leak occurs in native mem

I have application written in C#. Memory usage shows that开发者_StackOverflow中文版 there is a memory leak. However, dotTrace shows that managed memory is OK, so I think that leak occurs in native memory (yes, there are some native calls in my application). How can I find the problem?

Thanks!


I would take a memory dump of the running application, and then use Windbg or Visual Studio 2010 to investigate the issue.

Related resources:

  • How to research unmanaged memory leaks in .NET?
  • Windbg on Wikipedia
  • Analysing dump files with Visual Studio 2010
0

精彩评论

暂无评论...
验证码 换一张
取 消