java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ViewPager crashing on inflation
    via Stack Overflow by NeTeInStEiN
    ,
  • OutofMemory exception
    via GitHub by vj12354
    ,
  • GitHub comment 1097#205082177
    via GitHub by ibrahim132
    ,
  • GitHub comment 1142#205757089
    via GitHub by stargie
    ,
  • Out of memory issue for GIF
    via GitHub by CodeBoyChd
    ,
  • When the button is pressed the app crashes
    via Stack Overflow by Dusan Culum
    ,
    • java.lang.OutOfMemoryError at android.graphics.BitmapFactory.nativeDecodeAsset(BitmapFactory.java) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:683) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:513) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:889) at android.content.res.Resources.loadDrawable(Resources.java:3436) at android.content.res.Resources.getDrawable(Resources.java:1909) at android.support.v7.widget.TintResources.superGetDrawable(SourceFile:48) at android.support.v7.widget.AppCompatDrawableManager.onDrawableLoadedFromResources(SourceFile:374) at android.support.v7.widget.TintResources.getDrawable(SourceFile:44) at android.widget.EdgeEffect.<init>(EdgeEffect.java:151) at android.support.v4.widget.EdgeEffectCompatIcs.newEdgeEffect(SourceFile:30) at android.support.v4.widget.EdgeEffectCompat$EdgeEffectIcsImpl.newEdgeEffect(SourceFile:99) at android.support.v4.widget.EdgeEffectCompat.<init>(SourceFile:150) at android.support.v4.view.ViewPager.initViewPager(SourceFile:375) at android.support.v4.view.ViewPager.<init>(SourceFile:360) at java.lang.reflect.Constructor.constructNative(Constructor.java) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.createCustomViewInternal(SourceFile:211) at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.access$000(SourceFile:20) at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater$PrivateWrapperFactory2.onCreateView(SourceFile:302) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:695) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at uk.co.chrisjenx.calligraphy.CalligraphyLayoutInflater.inflate(SourceFile:60) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at com.app.mymags.features.product.viewbuilders.imagecarousel.ImageCarouselViewBuilder.<init>(SourceFile:28) at com.app.mymags.features.product.fragments.imagecarousel.ImageCarouselFragment.onCreateView(SourceFile:92) at android.app.Fragment.performCreateView(Fragment.java:1700) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890) at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062) at android.app.BackStackRecord.run(BackStackRecord.java:684) at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1453) at android.app.Activity.performStart(Activity.java:5460) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2386) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2471) at android.app.ActivityThread.access$900(ActivityThread.java:175) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5602) at java.lang.reflect.Method.invokeNative(Method.java) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(NativeStart.java)

    Users with the same issue

    Unknown visitor1 times, last one,
    Saravana Kumar Chinnaraj
    9 times, last one,
    Nisha Singh
    12 times, last one,
    asvid
    34 times, last one,
    Unknown visitor1 times, last one,
    21 more bugmates