Can I use the profiler to find out the handle leak?

Code profiling for .NET Developers

Can I use the profiler to find out the handle leak?

Postby sailoruranu » Thu Nov 19, 2009 9:41 am

I use the profiler watch a window services. After I do a lot of action, I watch the handle's count up to 50,000 (never decrease) in task manager and the memory has decrease. But I don't know how to use the profiler to find out the problem.
Because the memory are release but the handles are not release.
Posts: 1
Joined: Thu Nov 19, 2009 8:09 am

Postby Brian Donahue » Fri Nov 20, 2009 5:01 pm


Thanks for your forum post. I don't know of a way to track down handle leaks specifically using ANTS Memory Profiler, as the primary focus is objects on the managed heap rather then Windows resources. Process Explorer from Microsoft may be a good choice to monitor your process' handle usage. They have written an article about tracing handle leaks here: ... !394.entry

I hope this helps.
Brian Donahue
Posts: 6590
Joined: Mon Aug 23, 2004 9:48 am

Return to ANTS Performance Profiler Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests