Skip to content

Out of memory #724

@ghost

Description

Hi,

I have the following problem when doing fling on the chart:

java.lang.OutOfMemoryError: Failed to allocate a 4994508 byte allocation with 1481188 free bytes and 1446KB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:817)
at android.graphics.Bitmap.createBitmap(Bitmap.java:794)
at android.graphics.Bitmap.createBitmap(Bitmap.java:761)
at com.github.mikephil.charting.renderer.LineChartRenderer.drawData(LineChartRenderer.java:85)
at com.github.mikephil.charting.renderer.CombinedChartRenderer.drawData(CombinedChartRenderer.java:86)
at com.github.mikephil.charting.charts.BarLineChartBase.onDraw(BarLineChartBase.java:213)
at android.view.View.draw(View.java:15114)

Can you please help me?

Thanks in advance,

Efi M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions