Use this forum for questions on how to use .NET Memory Profiler and how to analyse memory usage.
- Posts: 2
- Joined: Fri Nov 28, 2008 2:04 pm
I have a problem with an application written in C# leaking handles. I can see it with task manager or with WinDbg. Could you tell me if I can use .Net Memory profiler for finding the origin of the leak. Thanks for indicating me how. We have .Net Memory Profiler 3.1.183. professional
- Posts: 1029
- Joined: Wed Mar 02, 2005 7:53 pm
If you enable the unmanaged resources tracker, you should be able to see the handle leak. Detecting handle leaks is similar to detecting memory leaks; it is usually easiest to detect leaks by comparing two snapshots. For more information, take a look at the second tutorial at http://memprofiler.com/tutorials
and in the "How to..." documentation at http://memprofiler.com/OnlineDocs/findmemoryleaks.htm
. The tutorials have not been updated for the latest version of .NET Memory Profiler, but the second tutorial can provide some useful hints anyway.
SciTech Software AB
Users browsing this forum: No registered users and 16 guests