Group: Forum Members
Last Active: 5 Years Ago
Posts: 14,
Visits: 31
|
Hi, Unfortunately there still seems to be a leak. To make sure I'm not doing something wrong I have attached the source for our user control. I have also attached word document detailing the leak. Let me know if you need anything else. Thanks, Rob
|
Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 3,055,
Visits: 4,055
|
Hi Rob, Do you call Dispose on the form that you use to host the control? We tested again the control and if you call Dispose on the host form or on the control itself there is no retention. Let us know if this resolves the problem...
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 5 Years Ago
Posts: 14,
Visits: 31
|
Since the user control is in the panel control collection it is not necessary to call dispose.  In my user control I am disposing the host (widget), which does get called.   Did you look at the source for my user control that I sent? Does everything look okay to you? I will retest to make sure my form isn't leaking elsewhere. Thanks, Rob
|
Group: Forum Members
Last Active: 5 Years Ago
Posts: 14,
Visits: 31
|
Additional Info ... attached is the html that we are loading in the control. Maybe that is part of the issue ... just a thought. Rob
|
Group: Forum Members
Last Active: 5 Years Ago
Posts: 14,
Visits: 31
|
I create a sample application that has our user control (you have the source) on it. 73% of original size (was 691x19) - Click to enlarge  Then in the load I add some sample text 73% of original size (was 691x19) - Click to enlarge  Took base line memory snap shot and then open the form twice (baseline and snapshot 3) 73% of original size (was 691x19) - Click to enlarge  Here are some of the classes that keep growing. 73% of original size (was 691x19) - Click to enlarge  Would you be willing to have a GoToMeeting show I can review these results? Thanks, Rob
|