java.lang.OutOfMemoryError

Stack Overflow | Mrunal Ahirrao | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    OutOfMemoryError and InflateException android

    Stack Overflow | 10 months ago | Amjad Khader
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.amjad.helthapp/com.example.amjad.helthapp.homepage}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  2. 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(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:840)
    5. android.content.res.Resources.loadDrawable(Resources.java:2166)
    6. android.content.res.Resources.getDrawable(Resources.java:710)
    6 frames
  3. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:323)
    1 frame
  4. Android v7
    AppCompatDrawableManager.getDrawable
    1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:202)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192)
    2 frames
  5. android.support.v7
    ActionMenuItemView.initialize
    1. android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:421)
    2. android.support.v7.view.menu.ActionMenuItemView.initialize(ActionMenuItemView.java:114)
    2 frames
  6. Android v7
    ActionMenuPresenter.bindItemView
    1. android.support.v7.widget.ActionMenuPresenter.bindItemView(ActionMenuPresenter.java:206)
    1 frame
  7. android.support.v7
    BaseMenuPresenter.getItemView
    1. android.support.v7.view.menu.BaseMenuPresenter.getItemView(BaseMenuPresenter.java:182)
    1 frame
  8. Android v7
    ActionMenuPresenter.flagActionItems
    1. android.support.v7.widget.ActionMenuPresenter.getItemView(ActionMenuPresenter.java:192)
    2. android.support.v7.widget.ActionMenuPresenter.flagActionItems(ActionMenuPresenter.java:480)
    2 frames
  9. android.support.v7
    BaseMenuPresenter.updateMenuView
    1. android.support.v7.view.menu.MenuBuilder.flagActionItems(MenuBuilder.java:1138)
    2. android.support.v7.view.menu.BaseMenuPresenter.updateMenuView(BaseMenuPresenter.java:91)
    2 frames
  10. Android v7
    ActionMenuPresenter.updateMenuView
    1. android.support.v7.widget.ActionMenuPresenter.updateMenuView(ActionMenuPresenter.java:229)
    1 frame
  11. android.support.v7
    MenuBuilder.startDispatchingItemsChanged
    1. android.support.v7.view.menu.MenuBuilder.dispatchPresenterUpdate(MenuBuilder.java:284)
    2. android.support.v7.view.menu.MenuBuilder.onItemsChanged(MenuBuilder.java:1030)
    3. android.support.v7.view.menu.MenuBuilder.startDispatchingItemsChanged(MenuBuilder.java:1053)
    3 frames
  12. Android v7
    ToolbarActionBar$1.run
    1. android.support.v7.app.ToolbarActionBar.populateOptionsMenu(ToolbarActionBar.java:460)
    2. android.support.v7.app.ToolbarActionBar$1.run(ToolbarActionBar.java:61)
    2 frames
  13. Android Platform
    ActivityThread.main
    1. android.view.Choreographer$CallbackRecord.run(Choreographer.java:788)
    2. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    3. android.view.Choreographer.doFrame(Choreographer.java:559)
    4. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:774)
    5. android.os.Handler.handleCallback(Handler.java:808)
    6. android.os.Handler.dispatchMessage(Handler.java:103)
    7. android.os.Looper.loop(Looper.java:193)
    8. android.app.ActivityThread.main(ActivityThread.java:5299)
    8 frames
  14. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    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:825)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
    2 frames
  16. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame