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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Charts using a lot of memory and not releasing it

Thread ID:





113977 Oct 21,2013 09:39 AM UTC Oct 22,2013 10:19 AM UTC WPF 2
Tags: Chart
Bruno Calzetta
Asked On October 21, 2013 09:39 AM UTC

We are using 2 charts at the same time (pie and bar) and both are bound to the same collection.
When the collection get's updated (is not an observable collection), the property is firing and the charts are showing correctly. The problem is that the memory grows about 1 or 3MB every time and it never gets released. We have users using the app for a long time and their machine is crashing with out of memory.
As soon as I remove the charts the app goes back to normal. Te problem is that the updates that are being displayed can change a lot in a few seconds, and we need to display it real time.
If I try the example apps I get the same memory usage... there's anyway to free up the memory when changing the datasource? We are using 9.4
It's quite urgent, any help will be much appreciated.

Bruno Calzetta
Replied On October 21, 2013 12:21 PM UTC

we found the problem to be located in this part, any advices?
                            <syncfusion:ChartAdornmentInfo LabelContentPath="DataPoint" Visible="True" HorizontalAlignment="Left"  
   SegmentShowLine="False" SegmentHorizontalAlignment="Right" 
   LabelTemplate="{StaticResource BarsLabelsTemplate}" SegmentLabelFontFamily="Verdana" SegmentLabelFontSize="10" />

Sheik Syed Abthaheer M [Syncfusion]
Replied On October 22, 2013 10:19 AM UTC

Hi Bruno,

Thanks for using Syncfusion Products.

We have analyzed your query and your reported memory leak issue has been fixed in our latest releases. So, please upgrade our latest version

Please let us know if you need any further assistance.

M. Sheik


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