Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try adding these lines to your manifest: android:hardwareAccelerated="false" and android:largeHeap="true" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

  2. ,
    Expert tip

    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

Solutions on the web

via Stack Overflow by ywj7931
, 1 year ago
Failed to allocate a 52428812 byte allocation with 33553680 free bytes and 48MB until OOM
via Stack Overflow by Sir George
, 1 year ago
Failed to allocate a 144764940 byte allocation with 16777120 free bytes and 27MB until OOM
via Stack Overflow by Nick Dettore
, 2 years ago
Failed to allocate a 144000012 byte allocation with 1048576 free bytes and 63MB until OOM
via Stack Overflow by Jesse Liberty
, 1 year ago
Failed to allocate a 7200012 byte allocation with 4806584 free bytes and 4MB until OOM
via Stack Overflow by Earthling
, 2 years ago
Failed to allocate a 5035548 byte allocation with 5011320 free bytes and 4MB until OOM
via Stack Overflow by Rustam Ibragimov
, 5 months ago
Failed to allocate a 9437196 byte allocation with 5765944 free bytes and 5MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 52428812 byte allocation with 33553680 free bytes and 48MB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)