We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FYI: Possible memory leaks in winforms MDI

Thread ID:




25745 Mar 4,2005 06:21 PM UTC WinForms 0
Tags: Tools
Asked On March 4, 2005 06:21 PM UTC

It appears as MDI Form is keeping EventHandleList around even after an MDI child form closes. This leaks objects associated with event handlers. I have used DevPartner to track those down. One place that reliably creates the leak is line #1539 in Renderers.cs, where toolTip.SetToolTip(..,..) associates tool tip text with control. The memory leak occurs only if the parent from is an MDI form. Another interesting aspect is that if you create a delegate on UI thread the _target seems to be leaking as if it’s kept in an EventHandlerList. I''ve found this article online that confirms my findings: http://dotnet247.com/247reference/msgs/36/180762.aspx


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon