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

GitHub | ladia12 | 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

    GitHub comment 1416#245191145

    GitHub | 9 months ago | ladia12
    java.lang.OutOfMemoryError: Failed to allocate a 8843124 byte allocation with 7598648 free bytes and 7MB until OOM
  2. 0

    OutOfMemory in Lollipop & Marshmallow

    GitHub | 10 months ago | minstrelsy
    java.lang.OutOfMemoryError: Failed to allocate a 26211852 byte allocation with 16777216 free bytes and 21MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    OutOfMemoryError and InflateException android

    Stack Overflow | 1 year ago | Amjad Khader
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.amjad.helthapp/com.example.amjad.helthapp.homepage}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  5. 0

    Many errors OutOfMemoryError

    GitHub | 3 years ago | moisesvs
    java.lang.OutOfMemoryError
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 8843124 byte allocation with 7598648 free bytes and 7MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Resources.getDrawable
    1. dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(BitmapFactory.java)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:726)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:547)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1014)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:3730)
    7. android.content.res.Resources.loadDrawable(Resources.java:3603)
    8. android.content.res.Resources.getDrawable(Resources.java:1852)
    9. android.content.res.Resources.getDrawable(Resources.java:1818)
    9 frames
  3. com.facebook.drawee
    SimpleDraweeView.<init>
    1. com.facebook.drawee.generic.GenericDraweeHierarchyInflater.getDrawable(GenericDraweeHierarchyInflater.java:227)
    2. com.facebook.drawee.generic.GenericDraweeHierarchyInflater.updateBuilder(GenericDraweeHierarchyInflater.java:116)
    3. com.facebook.drawee.generic.GenericDraweeHierarchyInflater.inflateBuilder(GenericDraweeHierarchyInflater.java:77)
    4. com.facebook.drawee.view.GenericDraweeView.inflateHierarchy(GenericDraweeView.java:58)
    5. com.facebook.drawee.view.GenericDraweeView.<init>(GenericDraweeView.java)
    6. com.facebook.drawee.view.SimpleDraweeView.<init>(SimpleDraweeView.java)
    6 frames
  4. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.newInstance(Constructor.java)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:288)
    2 frames
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:614)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:750)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:821)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:821)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:511)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:415)
    8. android.view.LayoutInflater.inflate(LayoutInflater.java:366)
    8 frames