java.lang.OutOfMemoryError: Failed to allocate a 579537516 byte allocation with 1048576 free bytes and 382MB until OOM

Stack Overflow | McLemore | 5 months ago
  1. 0

    java.lang.OutOfMemoryError with Audio Stream

    Stack Overflow | 5 months ago | McLemore
    java.lang.OutOfMemoryError: Failed to allocate a 579537516 byte allocation with 1048576 free bytes and 382MB until OOM
  2. 0

    Getting this exception which forces the android app to crash on start

    Stack Overflow | 1 year ago | Somanshu Srivastava
    java.lang.OutOfMemoryError: Failed to allocate a 51750048 byte allocation with 4194304 free bytes and 13MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [Crash Log] Mon, 28 Dec 2015 06:02:49 GMT

    GitHub | 11 months ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 14406012 byte allocation with 9005040 free bytes and 8MB until OOM

  1. Ranjana Dangol 6 times, last 5 months ago
  2. tone5992 1 times, last 9 months ago
  3. mathan m 1 times, last 4 months ago
  4. Saravana Kumar Chinnaraj 4 times, last 7 months ago
  5. Agócs Tamás 2 times, last 4 months ago
4 more registered users
15 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 579537516 byte allocation with 1048576 free bytes and 382MB 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:980)
    5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1039)
    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.jacob
    radio.onCreate
    1. com.example.jacob.wutk.radio.onCreate(radio.java:30)
    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