java.lang.OutOfMemoryError

Stack Overflow | richdog19 | 3 months ago
  1. 0

    OOM in viewpager with just 3 albumart

    GitHub | 2 months ago | hiteshsahu
    java.lang.OutOfMemoryError: Failed to allocate a 23040012 byte allocation with 16777120 free bytes and 16MB until OOM
  2. 0

    app stops using fragments with Countdown timer

    Stack Overflow | 2 months ago | Adnan Sheikh
    java.lang.OutOfMemoryError: Failed to allocate a 12695052 byte allocation with 7472568 free bytes and 7MB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to fix java.lang.OutOfMemoryError in Android

    Stack Overflow | 13 hours ago | Dj.Soa
    java.lang.OutOfMemoryError: Failed to allocate a 490012 byte allocation with 316664 free bytes and 309KB until OOM

  1. mathan m 1 times, last 4 months ago
  2. Agócs Tamás 2 times, last 4 months ago
  3. Ranjana Dangol 3 times, last 5 months ago
  4. bayukresno 1 times, last 6 months ago
  5. Saravana Kumar Chinnaraj 4 times, last 7 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: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:2110)
    6. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    7. android.view.View.<init>(View.java:3554)
    8. android.widget.ImageView.<init>(ImageView.java:123)
    8 frames
  3. Android v7
    AppCompatDelegateImplV9.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.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1013)
    5. android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1072)
    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:684)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    5 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:140)
    2 frames
  7. imageviews.test.shaquillelee
    MainActivity.onCreate
    1. imageviews.test.shaquillelee.com.narutoandsasuke.MainActivity.onCreate(MainActivity.java:18)
    1 frame
  8. 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
  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:785)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame