java.lang.OutOfMemoryError

  1. 0

    Error on timer activity

    Stack Overflow | 3 years ago | Soheyl
    java.lang.OutOfMemoryError
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    OutOfMemory error for error drawble

    GitHub | 2 years ago | raylee4204
    java.lang.OutOfMemoryError
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.setImageResource
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:817)
    5. android.content.res.Resources.loadDrawable(Resources.java:2854)
    6. android.content.res.Resources.getDrawable(Resources.java:1521)
    7. android.widget.ImageView.resolveUri(ImageView.java:628)
    8. android.widget.ImageView.setImageResource(ImageView.java:361)
    8 frames
  3. com.example.prof_mohamed
    accmanagerAdapter.getView
    1. com.example.prof_mohamed.ksa.accmanagerAdapter.getView(accmanagerAdapter.java:72)
    1 frame
  4. Android Platform
    ViewGroup.measureChild
    1. android.widget.AbsListView.obtainView(AbsListView.java:2570)
    2. android.widget.ListView.measureHeightOfChildren(ListView.java:1253)
    3. android.widget.ListView.onMeasure(ListView.java:1165)
    4. android.view.View.measure(View.java:16420)
    5. android.widget.RelativeLayout.measureChild(RelativeLayout.java:666)
    6. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:477)
    7. android.view.View.measure(View.java:16420)
    8. android.view.ViewGroup.measureChild(ViewGroup.java:5025)
    8 frames
  5. android.support.constraint
    ConstraintLayout.onMeasure
    1. android.support.constraint.ConstraintLayout.internalMeasureChildren(ConstraintLayout.java:393)
    2. android.support.constraint.ConstraintLayout.onMeasure(ConstraintLayout.java:419)
    2 frames
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16420)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5055)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    3 frames
  7. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  8. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:16420)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5055)
    2 frames
  9. Android v7
    ActionBarOverlayLayout.onMeasure
    1. android.support.v7.widget.ActionBarOverlayLayout.onMeasure(ActionBarOverlayLayout.java:391)
    1 frame
  10. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16420)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5055)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:16420)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5055)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1410)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    9. android.view.View.measure(View.java:16420)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5055)
    11. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    11 frames
  11. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2549)
    1 frame
  12. Android Platform
    Looper.loop
    1. android.view.View.measure(View.java:16420)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2188)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1333)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1544)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1230)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5089)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:591)
    9. android.view.Choreographer.doFrame(Choreographer.java:561)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
    11. android.os.Handler.handleCallback(Handler.java:725)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    13. android.os.Looper.loop(Looper.java:137)
    13 frames