java.lang.OutOfMemoryError: Failed to allocate a 1000012 byte allocation with 627808 free bytes and 613KB until OOM

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

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
, 1 year 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 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 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)

Users with the same issue

3 times, 3 months ago
8 times, 11 months ago
24 times, 1 year ago
2 times, 1 year ago
15 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.