SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, iOS Chart, Android Chart and JavaScript Chart Components


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?

  • I added 3 XyDataSeries<double, double> each with 10 million points. I get 7-8 FPS at the start, and 111-130 FPS when I zoom in.
  • I added 3 XyDataSeries<DateTime,Double> each with 10 million points: I get 2-3 FPS at the start, but when you zoom in the chart freezes.

Why such a difference if X data type is DateTime?

  • You must to post comments
Best Answer

Hi there,

There is no limit on the number of points you can show with SciChart. The limit is only memory and CPU power available. We have customers who have shown 40,000,000 points without problems in the past.

Please check the following things:

  • Ensure you have the latest version of SciChart. We update all the time, and regularly fix bugs and issues
  • Check what .NET Framework version you are using, for instance, .NET 4.0, 4.5, 4.5.1 have subtle differences in how they handle memory
  • Consider how much memory your data actually needs
    • For instance, 10,000,000 points of DateTime-Double XyDataSeries requires 2810M = 160MBytes of memory.
    • 10,000,000 points of DateTime-Double OhlcDataSeries data requires 5810M = 400MBytes of memory.
  • Check what platform you are targeting.
    • If x64, you should have no problems.
    • If x86, this explains your issue.
    • If Any CPU, then ensure you do not have the Prefer 32-Bit flag set, as this will force your application to run in 32-bit mode even on a 62-bit machine.


For XyDataSeries<DateTime, Double> we have noticed there is a bug in v3.0, v3.1 of SciChart which considerably limits performance of TX data types anything other than double, when you have millions of points and you zoom in. Please see the video below where we demonstrate this bug and the fix, which will be included in our v3.2 build.

Best regards,

  • Nicholas
    It seems to XyDataSeries <long, double> same. And low FPS with increasing
  • Andrew Burnett-Thompson
    Yes, as I said above - any TX type that is not double will cause this problem. Don't worry, we have fixed it in our internal build, and it will be released with v3.2 of SciChart.
  • Andrew Burnett-Thompson
    Update: This issue is now fixed, and we can plot many millions of data-points again with TX=long or integer :)
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.