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

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

  2. ,
    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

Solutions on the web

via GitHub by KashanDanish
, 1 year ago
Failed to allocate a 14745612 byte allocation with 16777056 free bytes and 23MB until OOM
via GitHub by jmheart
, 1 year ago
Failed to allocate a 4147212 byte allocation with 2012184 free bytes and 1965KB until OOM
via GitHub by rafaelcorreiapoli
, 1 year ago
Failed to allocate a 4194316 byte allocation with 3912916 free bytes and 3MB until OOM
via GitHub by wv1124
, 1 year ago
Failed to allocate a 10969356 byte allocation with 8599832 free bytes and 8MB until OOM
via GitHub by jmheart
, 1 year ago
Failed to allocate a 4147212 byte allocation with 2012184 free bytes and 1965KB until OOM
via GitHub by oney
, 2 years ago
Failed to allocate a 23103292 byte allocation with 13011316 free bytes and 12MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 14745612 byte allocation with 16777056 free bytes and 23MB until OOM at dalvik.system.VMRuntime.newNonMovableArray(VMRuntime.java) at android.graphics.Bitmap.nativeCreate(Bitmap.java) at android.graphics.Bitmap.createBitmap(Bitmap.java:939) at android.graphics.Bitmap.createBitmap(Bitmap.java:912) at android.graphics.Bitmap.createBitmap(Bitmap.java:879) at com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:55) at com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:30) at com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:260) at com.facebook.imagepipeline.bitmaps.ArtBitmapFactory.doDecodeStaticImage(ArtBitmapFactory.java:131) at com.facebook.imagepipeline.bitmaps.ArtBitmapFactory.decodeFromPooledByteBuffer(ArtBitmapFactory.java:84) at com.facebook.imagepipeline.bitmaps.PlatformBitmapFactory.decodeFromPooledByteBuffer(PlatformBitmapFactory.java:87) at com.facebook.imagepipeline.decoder.ImageDecoder.decodeStaticImage(ImageDecoder.java:119) at com.facebook.imagepipeline.decoder.ImageDecoder.decodeImage(ImageDecoder.java:93) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode(DecodeProducer.java:166) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$000(DecodeProducer.java:88) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run(DecodeProducer.java:112) at com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run(DecodeProducer.java:109) at com.facebook.imagepipeline.producers.JobScheduler.doJob(JobScheduler.java:214) at com.facebook.imagepipeline.producers.JobScheduler.access$000(JobScheduler.java:30) at com.facebook.imagepipeline.producers.JobScheduler$1.run(JobScheduler.java:68) at com.facebook.common.executors.SerialDelegatingExecutor.executeSingleCommand(SerialDelegatingExecutor.java:76) at com.facebook.common.executors.SerialDelegatingExecutor.access$000(SerialDelegatingExecutor.java:24) at com.facebook.common.executors.SerialDelegatingExecutor$1.run(SerialDelegatingExecutor.java:47) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)