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

Stack Overflow | Anunay | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    get all music files android

    Stack Overflow | 8 months ago | Anunay
    java.lang.OutOfMemoryError: Failed to allocate a 1000012 byte allocation with 627808 free bytes and 613KB until OOM
  2. 0

    [Crash Log] Fri, 24 Jun 2016 15:21:26 GMT

    GitHub | 9 months ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 33177612 byte allocation with 16777216 free bytes and 31MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [Crash Log] Tue, 29 Mar 2016 05:10:34 GMT

    GitHub | 12 months ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 52515852 byte allocation with 2687860 free bytes and 2MB until OOM

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 1000012 byte allocation with 627808 free bytes and 613KB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    BitmapFactory.decodeFileDescriptor
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeFileDescriptor(Native Method)
    3. android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:672)
    4. android.graphics.BitmapFactory.decodeFileDescriptor(BitmapFactory.java:704)
    4 frames
  3. com.example.anunay
    PlayListActivity.onCreate
    1. com.example.anunay.musicplayerdemo.Song.getAlbumArt(Song.java:165)
    2. com.example.anunay.musicplayerdemo.Song.getPlayList(Song.java:114)
    3. com.example.anunay.musicplayerdemo.PlayListActivity.onCreate(PlayListActivity.java:63)
    3 frames
  4. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:6323)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2387)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2494)
    5. android.app.ActivityThread.access$900(ActivityThread.java:153)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1347)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:148)
    9. android.app.ActivityThread.main(ActivityThread.java:5451)
    9 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames