SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components
Please use the forums below to ask questions about SciChart. Take a moment to read our Question asking guidelines on how to ask a good question and our support policy. We also have a tag=SciChart on Stackoverflow.com where you can earn rep for your questions!
Please note: SciChart team will only answer questions from customers with active support subscriptions. Expired support questions will be ignored. If your support status shows incorrectly, contact us and we will be glad to help.
The issue I’m having is that I seem to be running out of memory for 3D charts after a certain data size. What I will see is either my chart never renders at all or on occasion the entire application will crash (due to accessing out of bounds memory in the native dlls.)
I am using a SurfaceMeshRenderableSeries3D with a UniformGridDataSeries3D(int, float, int). With smaller sizes such as 320×240 (X,Z) I get results, but larger sizes such as 640×480 (X,Z).
This issue only seems to happen when compiling to 32-bit. I have seen the other questions regarding how AnyCPU is compiling to 32-bit. Some of our customers have to use 32-bit so I would like to know what the expected footprint is to hopefully try and work around it.
We create a surface in code and use ExportToFile() to embed it in a printable document.
All well and fast.
But, after changing region settings from en-us to de-de this Method takes ALL memory an the Machine and causes out of memory issues and virtually halts the machine.
We tried our code on different machines and the behavior was always the same.
Has anybody similar experiences? Or even a solution 🙂
I constantly have OutOfMemoryException when I set IChartSeriesViewModel.DataSeries.FifoCapacity and there are 4 or more chart on a single SciChartSurface.
Exception’s code block is
viewModel.DataSeries.FifoCapacity = 1000000;
where viewModel is newly created instance of ChartSeriesViewModel class.
What it could be?
Exception stack trace is
A. `1..ctor(Int32 ) Abt.Controls.SciChart.Model.DataSeries.XyDataSeries`2.ClearColumns() Abt.Controls.SciChart.Model.DataSeries.DataSeries`2.Clear() Abt.Controls.SciChart.Model.DataSeries.DataSeries`2.set_FifoCapacity(Nullable`1 value)
p.s. I have no opportunity to set x64 as target platform. My SciChart version is 3.1 but there is the same problem with 3.22.
I am adding charts with 10 million points.
With 40 million points the chart throws an OutOfMemoryException
In SciChart is there a limit on the number of points ? Or should I configure something?
Why such a difference if X data type is DateTime?