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. ,
    Expert tip

    This was issue #159 in Fresco, and was fixed recently, in v1.3.0.

Solutions on the web

via Appcelerator JIRA by Andrey Tkachenko, 1 year ago
Failed to allocate a 23887884 byte allocation with 8219096 free bytes and 7MB until OOM
via Appcelerator JIRA by Andrey Tkachenko, 1 year ago
Failed to allocate a 23887884 byte allocation with 8219096 free bytes and 7MB until OOM
via Google Groups by Alexis Camué, 1 year ago
Failed to allocate a 70315068 byte > allocation with 8388608 free bytes and 18MB until OOM
via Stack Overflow by Sir George
, 1 year ago
Failed to allocate a 144764940 byte allocation with 16777120 free bytes and 27MB until OOM
via Stack Overflow by Nick Dettore
, 2 years ago
Failed to allocate a 144000012 byte allocation with 1048576 free bytes and 63MB until OOM
via Stack Overflow by ywj7931
, 1 year ago
Failed to allocate a 52428812 byte allocation with 33553680 free bytes and 48MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 23887884 byte allocation with 8219096 free bytes and 7MB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:609)	at org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:348)	at org.appcelerator.titanium.view.TiDrawableReference.getBitmap(TiDrawableReference.java:300)	at ti.modules.titanium.ui.widget.TiUIImageView.toBlob(TiUIImageView.java:947)	at ti.modules.titanium.ui.ImageViewProxy.toBlob(ImageViewProxy.java:93)	at org.appcelerator.kroll.runtime.v8.V8Object.nativeFireEvent(Native Method)	at org.appcelerator.kroll.runtime.v8.V8Object.fireEvent(V8Object.java:62)	at org.appcelerator.kroll.KrollProxy.doFireEvent(KrollProxy.java:918)	at org.appcelerator.kroll.KrollProxy.handleMessage(KrollProxy.java:1141)	at org.appcelerator.titanium.proxy.TiViewProxy.handleMessage(TiViewProxy.java:356)	at android.os.Handler.dispatchMessage(Handler.java:98)	at android.os.Looper.loop(Looper.java:148)	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:118)