SFchart Out of memory

Hello! 
I have a problem with SFChart in Xamarin.Forms Android 5.02
Error log:
  • (wrapper alloc) System.Object:AllocVector (intptr,intptr)
  • 2
    FastLineSegment.OnLayout ()
  • 3
    ChartSeries.Invalidate ()
  • 4
    CartesianSeries.Invalidate ()
  • 5
    ChartBase.UpdateArea ()
  • 6
    ChartBase.OnMeasureChart ()
  • 7
    SfChart.OnMeasure (System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec)
  • 8
    View.n_OnMeasure_II (System.IntPtr jnienv, System.IntPtr native__this, System.Int32 widthMeasureSpec, System.Int32 heightMeasureSpec)
  • 9
    (wrapper dynamic-method) System.Object:4bfa5ff2-e2e5-4ea7-813e-877a6edfa866 (intptr,intptr,int,int)

  • Best regards 
  • Alexandr


1 Reply

DV Divya Venkatesan Syncfusion Team December 16, 2017 12:45 PM UTC

Hi Alexandr,

Chart is loading properly for 1 lakh data points in Android 5.0 and 5.1 versions. Please check the sample that we have created for this investigation.

Sample: http://www.syncfusion.com/downloads/support/forum/135062/ze/FastLineSample-75799010

If you are still facing this crash at your end, please let us know your device details and number of data points are using, we will investigate further on this.

Regards,
Divya Venkatesan


Loader.
Up arrow icon