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 Anunay
, 1 year ago
Failed to allocate a 1000012 byte allocation with 627808 free bytes and 613KB until OOM
via GitHub by blFeedbackBot
, 1 year ago
Failed to allocate a 33177612 byte allocation with 16777216 free bytes and 31MB until OOM
via GitHub by blFeedbackBot
, 2 years ago
Failed to allocate a 52515852 byte allocation with 2687860 free bytes and 2MB until OOM
via GitHub by jsarabia1247
, 1 year ago
Failed to allocate a 226852 byte allocation with 167884 free bytes and 163KB until OOM
via GitHub by jsarabia1247
, 1 year ago
Failed to allocate a 226852 byte allocation with 205008 free bytes and 200KB 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
java.lang.OutOfMemoryError: Failed to allocate a 1000012 byte allocation with 627808 free bytes and 613KB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeFileDescriptor(Native Method)	at android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:672)	at android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:704)	at com.example.anunay.musicplayerdemo.Song.getAlbumArt(Song.java:165)	at com.example.anunay.musicplayerdemo.Song.getPlayList(Song.java:114)	at com.example.anunay.musicplayerdemo.PlayListActivity.onCreate(PlayListActivity.java:63)	at android.app.Activity.performCreate(Activity.java:6323)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)	at android.app.ActivityThread.access$900(ActivityThread.java:153)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1347)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:148)	at android.app.ActivityThread.main(ActivityThread.java:5451)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)