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 GitHub by pasin
, 1 year ago
Failed to allocate a 90012 byte allocation with 73184 free bytes and 71KB until OOM
via GitHub by Dianafg76
, 2 years ago
Failed to allocate a 589836 byte allocation with 113524 free bytes and 110KB until OOM
via GitHub by tux-world
, 1 year ago
Failed to allocate a 9000012 byte allocation with 3137632 free bytes and 2MB until OOM
via GitHub by hurzl
, 2 months ago
Failed to allocate a 8294412 byte allocation with 7158696 free bytes and 6MB until OOM
via GitHub by IlanVokov
, 7 months ago
Failed to allocate a 14745612 byte allocation with 13108268 free bytes and 12MB until OOM
via Stack Overflow by learning
, 2 years ago
Failed to allocate a 99012 byte allocation > with 67972 free bytes and 66KB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 90012 byte allocation with 73184 free bytes and 71KB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.Bitmap.nativeCreate(Native Method)	at android.graphics.Bitmap.createBitmap(Bitmap.java:817)	at android.graphics.Bitmap.createBitmap(Bitmap.java:794)	at android.graphics.Bitmap.createBitmap(Bitmap.java:714)	at android.graphics.Bitmap.createBitmap(Bitmap.java:639)	at android.media.ThumbnailUtils.transform(ThumbnailUtils.java:436)	at android.media.ThumbnailUtils.extractThumbnail(ThumbnailUtils.java:226)	at android.media.ThumbnailUtils.extractThumbnail(ThumbnailUtils.java:201)	at com.couchbase.todolite.MainActivity$TasksFragment.onActivityResult(MainActivity.java:858)	at android.app.Activity.dispatchActivityResult(Activity.java:6139)	at android.app.ActivityThread.deliverResults(ActivityThread.java:3535)	at android.app.ActivityThread.handleSendResult(ActivityThread.java:3582)	at android.app.ActivityThread.access$1300(ActivityThread.java:144)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1327)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5221)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)