We are using SciChart in our Android application, and our Crashlytics reports that it crashes:
Fatal Exception: java.lang.OutOfMemoryError
Failed to allocate a 4581372 byte allocation with 8664 free bytes and 8KB until OOM
Can anyone help please?
Well it could be caused by some memory leak problem because there is not enough memory to allocate Bitmap. First of all I would suggest to try to update to the latest version from Maven ( as I remenber we had one memory leak bug related to disposing resources during recreation of chart when using OpenGL based RenderSurface – maybe it is the cause of this exception). If update doesn’t help then we’ll need more information from your side – project which reproduces issue, memory profiling report etc.
Hope this will help you!