Profile Picture

ChartControl is not being released after close due to subscribed eventhandler

Posted By Michael Krüllmann 7 Years Ago

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

Author
Message
Michael Krüllmann
Posted 7 Years 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: 4 Years Ago
Posts: 6, Visits: 82
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 (414 views, 14.00 KB)
Nevron Support
Posted 7 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: 2 days ago @ 1:54 AM
Posts: 3,054, Visits: 4,009

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