java.lang.OutOfMemoryError

Stack Overflow | NeTeInStEiN | 6 months 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

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(BitmapFactory.java)
    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.Resources.getDrawable(Resources.java:1909)
    6 frames
  3. Android v7
    TintResources.getDrawable
    1. android.support.v7.widget.TintResources.superGetDrawable(SourceFile:48)
    2. android.support.v7.widget.AppCompatDrawableManager.onDrawableLoadedFromResources(SourceFile:374)
    3. android.support.v7.widget.TintResources.getDrawable(SourceFile:44)
    3 frames
  4. Android Platform
    EdgeEffect.<init>
    1. android.widget.EdgeEffect.<init>(EdgeEffect.java:151)
    1 frame
  5. Android Support v4
    ViewPager.<init>
    1. android.support.v4.widget.EdgeEffectCompatIcs.newEdgeEffect(SourceFile:30)
    2. android.support.v4.widget.EdgeEffectCompat$EdgeEffectIcsImpl.newEdgeEffect(SourceFile:99)
    3. android.support.v4.widget.EdgeEffectCompat.<init>(SourceFile:150)
    4. android.support.v4.view.ViewPager.initViewPager(SourceFile:375)
    5. android.support.v4.view.ViewPager.<init>(SourceFile:360)
    5 frames
  6. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Constructor.java)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  7. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:600)
    1 frame
  8. uk.co.chrisjenx
    CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView
    1. uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(SourceFile:211)
    2. uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(SourceFile:20)
    3. uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(SourceFile:302)
    3 frames
  9. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:695)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
    3 frames
  10. uk.co.chrisjenx
    CalligraphyLayoutInflater.inflate
    1. uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(SourceFile:60)
    1 frame
  11. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
    2. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
    2 frames
  12. com.app.mymags
    ImageCarouselFragment.onCreateView
    1. com.app.mymags.features.product.viewbuilders.imagecarousel.ImageCarouselViewBuilder.<init>(SourceFile:28)
    2. com.app.mymags.features.product.fragments.imagecarousel.ImageCarouselFragment.onCreateView(SourceFile:92)
    2 frames
  13. Android Platform
    ActivityThread.main
    1. android.app.Fragment.performCreateView(Fragment.java:1700)
    2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
    3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
    4. android.app.BackStackRecord.run(BackStackRecord.java:684)
    5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1453)
    6. android.app.Activity.performStart(Activity.java:5460)
    7. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2386)
    8. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471)
    9. android.app.ActivityThread.access$900(ActivityThread.java:175)
    10. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
    11. android.os.Handler.dispatchMessage(Handler.java:102)
    12. android.os.Looper.loop(Looper.java:146)
    13. android.app.ActivityThread.main(ActivityThread.java:5602)
    13 frames
  14. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Method.java)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  15. 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
  16. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(NativeStart.java)
    1 frame