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

    This was issue #159 in Fresco, and was fixed recently, in v1.3.0.

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 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
, 7 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)