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

Stack Overflow | Xavier W. | 9 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

    Xamarin Android runtime exception

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

    How to change between sprite action animations seamlessly without running into OOM?

    Stack Overflow | 4 months ago | portfoliobuilder
    java.lang.OutOfMemoryError: Failed to allocate a 5644812 byte allocation with 1290256 free bytes and 1260KB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

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

    Stack Overflow | 6 years ago | Chirag_CID
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  5. 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