SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and iOS Chart & Android Chart Components
Hi, I want to know buffer structure of 2d fastline.
I use very huge data per line.(maybe about 30,000 points/1 sec are appended to a line.)
But Memory usage is different than expected.
I use fifocapacity, and It is realtime graph.
Appending data, the memory usage increases too much.
Especially, It use more memory when drawing more lines.
Assuming one line uses 100mb, the five lines use 5000mb not 500mb.
Is it right??
There are a number of questions on the forums related to memory usage in SciChart, I will list them below and also answer your question:
This fourth question is the most applicable to what you are asking.
30,000 points of double-double data requires at least 30000 * 8 * 2 = 480,000 bytes per second.
Note that FIFO Series require double the memory of standard XyDataSeries.
This is because the FIFO Buffer is circular, implemented as two pointers with Start/End indices. When we iterate over the FIFO Series, it is much faster to perform a memcopy to a cached array of size N than to resolve the circular index for each point.
So now you need at least 1MByte / Second.
So how large are the dataseries in total? Just 30,000 points? Then you should not expect large memory usage.
However if they are millions of points then this memory usage gets a lot bigger.
Please send me more information about your application (dataseries size) and I will give you a more accurate answer.
Please login first to submit.