Profile Picture

ChartControl is not being released after close due to subscribed eventhandler

Posted By Michael Krüllmann 3 Months Ago

ChartControl is not being released after close due to subscribed...

Author
Message
Michael Krüllmann
Posted 3 Months Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: Last Month
Posts: 5, Visits: 74
Hello,

we are encountering a huge memory consumption when opening and closing charts repeatedly.
After closing a chart, only a part of the allocated memory is released, so the overall memory usage rises more and more
with each opening of a chart.
We did some investigation using WinDbg and found out, that even in a simple example with just creating a chart control and
closing it the chart control is not released. We saw that it is still registered to a ShutDownStarted-event (Nevron.Chart.Wpf.NChartControl.Dispatcher_ShutdownStarted(System.Object, System.EventArgs).
I attached an example with an extra text file with some information from WinDbg (Info_WinDbg.txt).
Is there any solution? What can you recommend for best cleanup?

Thank you and best regards,
Michael Krüllmann


Attachments
DVCMemoryTest.zip (6 views, 14.00 KB)
Nevron Support Team
Posted 3 Months Ago
View Quick Profile
Supreme Being

Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)Supreme Being (3,273 reputation)

Group: Moderators
Last Active: 2 days ago @ 8:33 AM
Posts: 2,593, Visits: 2,279

Hi Michael,
Thank you for bringing this problem to our attention - we have just released a SP that fixes this issue. You can download it from our website. Let us know if you meet any problems.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic