java.lang.OutOfMemoryError: Failed to allocate a 44236812 byte allocation with 8344256 free bytes and 7MB until OOM

Stack Overflow | Xavier W. | 5 months ago
  1. 0

    Xamarin Android runtime exception

    Stack Overflow | 5 months ago | Xavier W.
    java.lang.OutOfMemoryError: Failed to allocate a 44236812 byte allocation with 8344256 free bytes and 7MB until OOM
  2. 0

    bitmap size exceeds VM budget...how to solve this error?

    Stack Overflow | 5 years ago | Chirag_CID
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Out of memory error on Android

    Stack Overflow | 4 years ago | DevAndro
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget

    4 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 44236812 byte allocation with 8344256 free bytes and 7MB until OOM

      at dalvik.system.VMRuntime.newNonMovableArray()
    2. Android Platform
      View.setBackgroundResource
      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)
      11. android.view.View.setBackgroundResource(View.java:18532)
      11 frames
    3. mono.android.view
      View_OnClickListenerImplementor.onClick
      1. mono.android.view.View_OnClickListenerImplementor.n_onClick(Native Method)
      2. mono.android.view.View_OnClickListenerImplementor.onClick(View_OnClickListenerImplementor.java:29)
      2 frames
    4. Android Platform
      ActivityThread.main
      1. android.view.View.performClick(View.java:5702)
      2. android.widget.TextView.performClick(TextView.java:10888)
      3. android.view.View$PerformClick.run(View.java:22541)
      4. android.os.Handler.handleCallback(Handler.java:739)
      5. android.os.Handler.dispatchMessage(Handler.java:95)
      6. android.os.Looper.loop(Looper.java:158)
      7. android.app.ActivityThread.main(ActivityThread.java:7229)
      7 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:1230)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
      2 frames