This is a migrated thread and some comments may be shown as answers.

How does RadCartesianChart manage memory if there are a lot of data points in the cahrt?

2 Answers 116 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Dmitry
Top achievements
Rank 1
Dmitry asked on 03 Apr 2017, 07:34 AM

Hello.

If RadCartesianChart uses an instance of RadObservableColection as DataSource and there are a lot of data points (for example 100000 points of data) in this RadObservableColection, is there (in this case) RadCartesianChart works with virtual (disk) memory (locating RadObservableColection in virtual memory)? Or RadCartesianChart uses only RAM memory space in this case (so RadObservableCollection is in the computer's RAM)?

2 Answers, 1 is accepted

Sort by
0
Accepted
Martin Ivanov
Telerik team
answered on 06 Apr 2017, 08:01 AM
Hi Yaroslav,

The chart doesn't use anything specific for managing its memory. Only what the .NET and the WPF framework provides. In other words, the data lives in the RAM memory. The same applies for the RadObservableCollection class.

The chart will work with as much space as the application provides to it. Anyway, keep in mind that the WPF applications are .NET and they have memory limit that when you reached an OutOfMemoryException will be thrown by the framework.

Regards,
Martin
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Dmitry
Top achievements
Rank 1
answered on 07 Apr 2017, 12:42 PM
Hello, Martin. Thank you for your help.
Tags
ChartView
Asked by
Dmitry
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Dmitry
Top achievements
Rank 1
Share this question
or