Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Binding to a very large object which run out the memory
posted

Hi, 

The source of the chart is a collection of series, where each series has a collection of points.

We work with live data that can reach to millions of points, The requirement is to save all the points.

It's a plot of some measuring device which reports more then 2000 values per second for each channel (series), so it's a matter of few minutes that the source collection reach 1 GB of memory.

I understand that in zoom-out there is no point to display all points, and while user zoom in I need to show the required points.

Do you have some kind of custom data type that references data on disk and only loads a subset into memory as needed?

Thanks.

Parents
No Data
Reply
  • 34810
    Suggested Answer
    Offline posted

    Hello Dudi,

    Thank you for your post.

    Currently, I don't personally know of a custom data type that will reference data on disk and only load a subset into memory, but we don't expose one as part of our Infragistics for WPF control toolset. By the sounds of this issue, I am not entirely surprised that the memory of your XamDataChart is becoming very large, especially since you are plotting 2000 points per second per series in your chart. Rather than doing this, I would recommend that you query your underlying data source with the 2000 points and only include a sub-set of them in the source collection for the XamDataChart.

    There are a couple of articles that I can recommend here as well. One of which talks about how you can get one billion points into a XamDataChart, and I believe that may help you. Here is a link to that: http://es.infragistics.com/community/blogs/graham/archive/2013/08/14/displaying-1-billion-data-values-in-xamdatachart.aspx. The other article is about performance in the XamDataChart and some of the properties that you can set to achieve better performance. Here is a link to that one as well: http://help.infragistics.com/Help/Doc/WPF/2012.1/CLR4.0/html/xamDataChart_Chart_Performance.html.

    I hope this helps you. Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

Children