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.

  • Android:java.lang.OutOfMemoryError
    via Stack Overflow by Lahiruzz
    ,
  • out of memory error in android..
    via Stack Overflow by user3214173
    ,
  • OutOfMemoryError problems - android
    via Stack Overflow by mzfx
    ,
    • java.lang.OutOfMemoryError at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:500) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:353) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:781) at android.content.res.Resources.loadDrawable(Resources.java:1930) at android.content.res.Resources.getDrawable(Resources.java:659) at android.view.View.setBackgroundResource(View.java:14179) at com.myapps.gridviewexample.GridViewActivity$ImageAdapter.getView(GridViewActivity.java:89) at android.widget.AbsListView.obtainView(AbsListView.java:2267) at android.widget.GridView.makeAndAddView(GridView.java:1331) at android.widget.GridView.makeRow(GridView.java:331) at android.widget.GridView.fillDown(GridView.java:283) at android.widget.GridView.fillFromTop(GridView.java:407) at android.widget.GridView.layoutChildren(GridView.java:1219) at android.widget.AbsListView.onLayout(AbsListView.java:2102) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649) at android.widget.LinearLayout.layoutHorizontal(LinearLayout.java:1638) at android.widget.LinearLayout.onLayout(LinearLayout.java:1422) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.support.v7.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:435) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1649) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1507) at android.widget.LinearLayout.onLayout(LinearLayout.java:1420) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:13754) at android.view.ViewGroup.layout(ViewGroup.java:4362) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1866) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1687) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:998) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4212) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:725) at android.view.Choreographer.doCallbacks(Choreographer.java:555) at android.view.Choreographer.doFrame(Choreographer.java:525) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711) at android.os.Handler.handleCallback(Handler.java:615) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:4745) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:511) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Indri YunitaIndri Yunita
    9 times, last one,
    19 more bugmates