java.lang.OutOfMemoryError

Stack Overflow | Hadi Niknam | 1 week ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Listview out of memory exception in viewholder

    Stack Overflow | 1 year ago | james
    java.lang.OutOfMemoryError: Failed to allocate a 26620312 byte allocation with 4194304 free bytes and 11MB until OOM
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Android Out of memory on custom listview

    Stack Overflow | 1 year ago | james
    java.lang.OutOfMemoryError: Failed to allocate a 12006012 byte allocation with 2033536 free bytes and 1985KB 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

    No message provided

    at android.graphics.BitmapFactory.nativeDecodeAsset()
  2. Android Platform
    Resources.getDrawable
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:594)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:429)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:840)
    5. android.content.res.Resources.loadDrawable(Resources.java:2115)
    6. android.content.res.Resources.getDrawable(Resources.java:700)
    6 frames
  3. Android v7
    TintResources.getDrawable
    1. android.support.v7.widget.ResourcesWrapper.getDrawable(ResourcesWrapper.java:128)
    2. android.support.v7.widget.TintResources.getDrawable(TintResources.java:45)
    2 frames
  4. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:323)
    1 frame
  5. Android v7
    AppCompatImageView.setImageResource
    1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:202)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192)
    3. android.support.v7.widget.AppCompatImageHelper.setImageResource(AppCompatImageHelper.java:66)
    4. android.support.v7.widget.AppCompatImageView.setImageResource(AppCompatImageView.java:71)
    4 frames
  6. mathtools.user.com
    EquationsRelationships.onCreate
    1. mathtools.user.com.mathtools.EquationsRelationships.onCreate(EquationsRelationships.java:66)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2148)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
    5. android.app.ActivityThread.access$800(ActivityThread.java:135)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5001)
    9 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame