Hi All,
Sometimes my application crashes with the exception
Exception type: System.Componen tModel.Win32Exc eption
Message: Error creating window handle.
My Question to you guys are:
1. I am not able to find out the root cause of it. Can somebody help me out?
2. How can I find the total window handle count?
If I open crash dump and run the command !handle, it provides me 792 handle count. Further investigation (!DumpHeap -type System.Windows. Forms.NativeWin dow and !DumpArray -details <address>) says there is a generation 3 System.Windows. Forms.NativeWin dow class which is having 8419 HandleBuckets (System.Windows .Forms.NativeWi ndow+HandleBuck et). If I add both of them, still they are lesser than 10k limit of handles.
Can some body gives any clue? Am I missing something to find out handle count?
I am using .NET 2.0 + C# and can not provide source of my application. This error does not happen every time and seems non replicable.
Thanks in Advance.
Sometimes my application crashes with the exception
Exception type: System.Componen tModel.Win32Exc eption
Message: Error creating window handle.
My Question to you guys are:
1. I am not able to find out the root cause of it. Can somebody help me out?
2. How can I find the total window handle count?
If I open crash dump and run the command !handle, it provides me 792 handle count. Further investigation (!DumpHeap -type System.Windows. Forms.NativeWin dow and !DumpArray -details <address>) says there is a generation 3 System.Windows. Forms.NativeWin dow class which is having 8419 HandleBuckets (System.Windows .Forms.NativeWi ndow+HandleBuck et). If I add both of them, still they are lesser than 10k limit of handles.
Can some body gives any clue? Am I missing something to find out handle count?
I am using .NET 2.0 + C# and can not provide source of my application. This error does not happen every time and seems non replicable.
Thanks in Advance.
Comment