java.lang.OutOfMemoryError

Stack Overflow | Samra Nisar | 4 months ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  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

    No message provided

    at android.graphics.BitmapFactory.nativeDecodeAsset()
  2. Android Platform
    ImageView.<init>
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:683)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:513)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:889)
    5. android.content.res.Resources.loadDrawable(Resources.java:3436)
    6. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    7. android.widget.ImageView.<init>(ImageView.java:133)
    7 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:102)
    4. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:972)
    5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1030)
    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:690)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
    5 frames
  6. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:276)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:136)
    2 frames
  7. com.example.android
    MainActivity.onCreate
    1. com.example.android.happybirthday.MainActivity.onCreate(MainActivity.java:11)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5451)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
    5. android.app.ActivityThread.access$900(ActivityThread.java:175)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:146)
    9. android.app.ActivityThread.main(ActivityThread.java:5602)
    9 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame