java.lang.OutOfMemoryError

Stack Overflow | Kodi | 4 years 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
    ImageView.setImageResource
    1. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    2. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:502)
    3. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:355)
    4. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:785)
    5. android.content.res.Resources.loadDrawable(Resources.java:1965)
    6. android.content.res.Resources.getDrawable(Resources.java:660)
    7. android.widget.ImageView.resolveUri(ImageView.java:616)
    8. android.widget.ImageView.setImageResource(ImageView.java:349)
    8 frames
  3. com.humanoid.sigma
    ImageAdapter.getView
    1. com.humanoid.sigma.ImageAdapter.getView(ImageAdapter.java:80)
    1 frame
  4. Android Platform
    ActivityThread.main
    1. android.widget.AbsListView.obtainView(AbsListView.java:2143)
    2. android.widget.GridView.makeAndAddView(GridView.java:1341)
    3. android.widget.GridView.makeRow(GridView.java:341)
    4. android.widget.GridView.fillDown(GridView.java:283)
    5. android.widget.GridView.fillFromTop(GridView.java:417)
    6. android.widget.GridView.layoutChildren(GridView.java:1229)
    7. android.widget.AbsListView.onLayout(AbsListView.java:1994)
    8. android.view.View.layout(View.java:14003)
    9. android.view.ViewGroup.layout(ViewGroup.java:4375)
    10. android.widget.RelativeLayout.onLayout(RelativeLayout.java:985)
    11. android.view.View.layout(View.java:14003)
    12. android.view.ViewGroup.layout(ViewGroup.java:4375)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    14. android.view.View.layout(View.java:14003)
    15. android.view.ViewGroup.layout(ViewGroup.java:4375)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    19. android.view.View.layout(View.java:14003)
    20. android.view.ViewGroup.layout(ViewGroup.java:4375)
    21. android.widget.FrameLayout.onLayout(FrameLayout.java:448)
    22. android.view.View.layout(View.java:14003)
    23. android.view.ViewGroup.layout(ViewGroup.java:4375)
    24. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1892)
    25. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1711)
    26. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
    27. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
    28. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    29. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    30. android.view.Choreographer.doFrame(Choreographer.java:532)
    31. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    32. android.os.Handler.handleCallback(Handler.java:725)
    33. android.os.Handler.dispatchMessage(Handler.java:92)
    34. android.os.Looper.loop(Looper.java:137)
    35. android.app.ActivityThread.main(ActivityThread.java:5039)
    35 frames
  5. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  6. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames