Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Why are handle counts going up in a .NET application?

Reply
 
Old 06-08-2009   #1 (permalink)
Dave Burns


 
 

Why are handle counts going up in a .NET application?

Hello,

We have a .NET application that runs as a service. Our customers have
observed, using Task Manager, that handle counts are going up after a period
of time and claim it is a leak on our part.

I have scoured the code looking for anything that I am not closing or
disposing, but don't see anything. I ran two different profiling tools and
also put in my own logging to make sure that at least at my level (in C#) I
do my part by making sure resources don't leak. My logs are steady after
days of running.

The only resources that I use are: Sockets, Threads, Files, and Timers - as
far as I can tell.

Are there resources that .NET runtime allocates on my behalf? ( I do know
about the System Thread pool )

Or is there a known handle leak in .NET that I am not aware of?

Thanks, any help on this will be greatly appreciated!



My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Verb Counts - WPF Pie Charting PowerShell
Verb Counts - WPF TreeMap PowerShell
Verb Counts - WPF DataGrid PowerShell
File counts are wrong..... Vista file management


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46