java.lang.OutOfMemoryError: Failed to allocate a 16828428 byte allocation with 643016 free bytes and 627KB until OOM

Stack Overflow | couldDog | 4 months ago
  1. 0

    How to find cause of OutOfMemoryError?

    Stack Overflow | 4 months ago | couldDog
    java.lang.OutOfMemoryError: Failed to allocate a 16828428 byte allocation with 643016 free bytes and 627KB until OOM
  2. 0

    Listview out of memory exception in viewholder

    Stack Overflow | 7 months ago | james
    java.lang.OutOfMemoryError: Failed to allocate a 26620312 byte allocation with 4194304 free bytes and 11MB until OOM
  3. 0

    OOM with picasso

    GitHub | 1 year ago | lfdversluis
    java.lang.OutOfMemoryError: Failed to allocate a 360012 byte allocation with 290364 free bytes and 283KB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ListView crashes while fast scrolling

    Stack Overflow | 10 months ago | M D
    java.lang.OutOfMemoryError: Failed to allocate a 8087052 byte allocation with 2036816 free bytes and 1989KB until OOM
  6. 0

    java.lang.OutOfMemoryError: Failed to allocate a 36000012 byte allocation with 16777216 free bytes and 21MB until OOM

    Stack Overflow | 8 months ago | Craig Gallagher
    java.lang.OutOfMemoryError: Failed to allocate a 36000012 byte allocation with 16777216 free bytes and 21MB until OOM

  1. Saravana Kumar Chinnaraj 1 times, last 7 months ago
  2. Nisha Singh 2 times, last 8 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 16828428 byte allocation with 643016 free bytes and 627KB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Context.getDrawable
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:4211)
    7. android.content.res.Resources.loadDrawable(Resources.java:4085)
    8. android.content.res.Resources.getDrawable(Resources.java:2005)
    9. android.content.res.Resources.getDrawable(Resources.java:1987)
    10. android.content.Context.getDrawable(Context.java:464)
    10 frames
  3. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26)
    2. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321)
    2 frames
  4. Android v7
    AppCompatImageView.setImageResource
    1. android.support.v7.widget.TintManager.getDrawable(TintManager.java:175)
    2. android.support.v7.widget.TintManager.getDrawable(TintManager.java:168)
    3. android.support.v7.widget.AppCompatImageHelper.setImageResource(AppCompatImageHelper.java:51)
    4. android.support.v7.widget.AppCompatImageView.setImageResource(AppCompatImageView.java:72)
    4 frames
  5. com.coulddog.loopsbycdub
    MediaPlayerFragment$8.onClick
    1. com.coulddog.loopsbycdub.application.fragment.implementation.MediaPlayerFragment.updatePlayButtons(MediaPlayerFragment.java:299)
    2. com.coulddog.loopsbycdub.application.fragment.implementation.MediaPlayerFragment.setState(MediaPlayerFragment.java:288)
    3. com.coulddog.loopsbycdub.application.fragment.implementation.MediaPlayerFragment$8.onClick(MediaPlayerFragment.java:278)
    3 frames
  6. Android Platform
    ActivityThread.main
    1. android.view.View.performClick(View.java:5697)
    2. android.view.View$PerformClick.run(View.java:22526)
    3. android.os.Handler.handleCallback(Handler.java:739)
    4. android.os.Handler.dispatchMessage(Handler.java:95)
    5. android.os.Looper.loop(Looper.java:158)
    6. android.app.ActivityThread.main(ActivityThread.java:7225)
    6 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
    2 frames