Skip to content

Most of the time we are facing OutOfMemory Exception! Any solutions? #5

@asifjavaid

Description

@asifjavaid

java.lang.OutOfMemoryError: Failed to allocate a 63489036 byte allocation with 16776592 free bytes and 58MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:882)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:858)
at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:478)
at me.echodev.resizer.util.ImageUtils.getScaledBitmap(ImageUtils.java:34)
at me.echodev.resizer.util.ImageUtils.getScaledImage(ImageUtils.java:25)
at me.echodev.resizer.Resizer.getResizedFile(Resizer.java:149)

Please suggest!

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