java.lang.OutOfMemoryError: Failed to allocate a 100436832 byte allocation with 4194304 free bytes and 42MB until OOM

Stack Overflow | James sukumar | 3 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 491#204051809

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

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

    GitHub | 1 year ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 10584012 byte allocation with 4981328 free bytes and 4MB until OOM
  3. 0

    java.lang.OutOfMemoryError with Audio Stream

    Stack Overflow | 9 months ago | McLemore
    java.lang.OutOfMemoryError: Failed to allocate a 579537516 byte allocation with 1048576 free bytes and 382MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Android application Stopped Working - Out of memory

    Stack Overflow | 12 months ago | Nicky Apriliani
    java.lang.OutOfMemoryError: Failed to allocate a 54000012 byte allocation with 4194304 free bytes and 11MB until OOM
  6. 0

    Invalid package name : Perhaps you didn't include a PendingIntent in the extras?

    Stack Overflow | 1 year ago | Drewberry
    java.lang.OutOfMemoryError: Failed to allocate a 345067788 byte allocation with 1048576 free bytes and 63MB 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 100436832 byte allocation with 4194304 free bytes and 42MB 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:609)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:1080)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:2635)
    7. android.content.res.Resources.loadDrawable(Resources.java:2540)
    8. android.content.res.TypedArray.getDrawable(TypedArray.java:870)
    9. android.widget.ImageView.<init>(ImageView.java:152)
    10. android.widget.ImageView.<init>(ImageView.java:140)
    10 frames
  3. Android v7
    AppCompatDelegateImplV7.onCreateView
    1. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:57)
    2. android.support.v7.widget.AppCompatImageView.<init>(AppCompatImageView.java:53)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:106)
    4. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:1008)
    5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1067)
    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:746)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
    4. android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:515)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:374)
    7 frames
  6. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  7. com.example.sukumar
    Main5Activity.onCreate
    1. com.example.sukumar.magzsam3.Main5Activity.onCreate(Main5Activity.java:13)
    1 frame
  8. Android Platform
    ActivityThread.handleLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6237)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    4 frames