Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occasional crash in record view activity with pitch graph lib #16

Closed
m-abboud opened this issue Aug 2, 2016 · 0 comments
Closed

Occasional crash in record view activity with pitch graph lib #16

m-abboud opened this issue Aug 2, 2016 · 0 comments

Comments

@m-abboud
Copy link
Contributor

m-abboud commented Aug 2, 2016

When switching to record view activity the app will occasionally crash with something like the below error. Appears to be an issue with the com.github.mikephil charting library that is used for the pitch graph and seems to have been fixed in version 2.2.5 of the library, PhilJay/MPAndroidChart#1386.

java.lang.OutOfMemoryError: Failed to allocate a 10690572 byte allocation with 6103696 free bytes and 5MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:857)
at android.graphics.Bitmap.createBitmap(Bitmap.java:834)
at android.graphics.Bitmap.createBitmap(Bitmap.java:801)
at com.github.mikephil.charting.renderer.LineChartRenderer.drawData(LineChartRenderer.java:85)
at com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:213)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants