Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

  2. ,

    The memory is leaking. Try to analyze the HEAP or use LeakCanacy (https://github.com/square/leakcanary) to figure out where is the exact problem.

Solutions on the web

via Stack Overflow by Olusegun Odumosu
, 1 year ago
via Stack Overflow by Leon Armstrong
, 2 years ago
This exception has no message.
via Stack Overflow by Rabbott
, 2 years ago
via GitHub by fred8
, 2 years ago
via GitHub by dimhold
, 1 year ago
This exception has no message.
java.lang.OutOfMemoryError: 	at android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)	at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:522)	at android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:540)	at com.spp.azeezolusegunodumosu.rccgspp.gallery$RemoteDataTask$1.done(gallery.java:108)	at com.spp.azeezolusegunodumosu.rccgspp.gallery$RemoteDataTask$1.done(gallery.java:101)	at com.parse.ParseTaskUtils$2$1.run(ParseTaskUtils.java:116)	at android.os.Handler.handleCallback(Handler.java:725)	at android.os.Handler.dispatchMessage(Handler.java:92)	at android.os.Looper.loop(Looper.java:176)