java.lang.OutOfMemoryError: Failed to allocate a 8754216 byte allocation with 6257104 free bytes and 5MB until OOM

Stack Overflow | Deepak Baliga | 1 month 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 491#204051809

    GitHub | 11 months ago | 4sskick
    java.lang.OutOfMemoryError: Failed to allocate a 10890012 byte allocation with 4194304 free bytes and 10MB until OOM
  2. 0

    Show Slideshow - Android OutOfMemoryError

    Stack Overflow | 1 month ago | S Kharbanda
    java.lang.OutOfMemoryError: Failed to allocate a 52920012 byte allocation with 4194304 free bytes and 31MB until OOM
  3. 0

    [Crash Log] Mon, 04 Apr 2016 15:45:46 GMT

    GitHub | 11 months ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 10584012 byte allocation with 4981328 free bytes and 4MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.OutOfMemoryError: Failed to allocate a 1660396 byte allocation with 1243880 free bytes and 1214KB until OOM

    Stack Overflow | 2 months ago | user7125006
    java.lang.OutOfMemoryError: Failed to allocate a 1660396 byte allocation with 1243880 free bytes and 1214KB until OOM
  6. 0

    OutOfMemoryException - Best way to use Glide

    Stack Overflow | 1 month ago | Deepak Baliga
    java.lang.OutOfMemoryError: Failed to allocate a 8754216 byte allocation with 6257104 free bytes and 5MB until OOM
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 8754216 byte allocation with 6257104 free bytes and 5MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    ImageView.<init>
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:620)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:455)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1155)
    6. android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:720)
    7. android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:571)
    8. android.content.res.Resources.loadDrawable(Resources.java:858)
    9. android.content.res.TypedArray.getDrawable(TypedArray.java:928)
    10. android.widget.ImageView.<init>(ImageView.java:162)
    11. android.widget.ImageView.<init>(ImageView.java:150)
    11 frames
  3. Android v7
    AppCompatDelegateImplV9.onCreateView
    1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:60)
    2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:56)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
    4. android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1017)
    5. android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1076)
    5 frames
  4. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    1 frame
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:769)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:727)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:858)
    4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    6. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    7. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    8. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    9. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    10. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    11. android.view.LayoutInflater.parseInclude(LayoutInflater.java:994)
    12. android.view.LayoutInflater.rInflate(LayoutInflater.java:854)
    13. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    14. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    15. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    16. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    17. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    18. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    19. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    20. android.view.LayoutInflater.rInflate(LayoutInflater.java:861)
    21. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:821)
    22. android.view.LayoutInflater.inflate(LayoutInflater.java:518)
    23. android.view.LayoutInflater.inflate(LayoutInflater.java:426)
    24. android.view.LayoutInflater.inflate(LayoutInflater.java:377)
    24 frames
  6. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143)
    2 frames
  7. com.devsvalley.pacobookings
    HallDetailActivity.onCreate
    1. com.devsvalley.pacobookings.HallDetailActivity.onCreate(HallDetailActivity.java:116)
    1 frame
  8. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6679)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
    4 frames