Error creating windows handle

Can dotMemory help me to find out what is using all these windows handles?

The error seems to always happen on one particular form, which has several parameter laden constructors.
Is it possible that this form is not being cleaned up because references are being retained by the parameters used?

1 comment
Comment actions Permalink

dotMemory does not show information about native handles, but if you know what managed type holds these handles your can find out why managed types still hold in memory.
Of course if the form is holding in memory by any GC root dotMemory shows you this.

Find you form instance using this view
https://www.jetbrains.com/dotmemory/help/Analyzing_an_Object_Set.html
and see what holds it in memory using "Key Retention Paths" view
https://www.jetbrains.com/dotmemory/help/Analyzing_an_Instance.html

0

Please sign in to leave a comment.