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 (413 views, 14.00 KB)



Similar Topics


Reading This Topic