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

    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 vkramsingh
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 15116556 byte allocation with 5346608 free bytes and 5MB until OOM
via GitHub by SwayChen
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 2842572 byte allocation with 1886384 free bytes and 1842KB until OOM
via GitHub by ShaneCarr
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 4548612 byte allocation with 1699211 free bytes and 1659KB until OOM
via GitHub by stevefat
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 1935192 byte allocation with 1761372 free bytes and 1720KB until OOM
via GitHub by russellhoff
, 2 years ago
java.lang.OutOfMemoryError: Failed to allocate a 6127628 byte allocation with 4344378 free bytes and 4MB until OOM
via GitHub by jaredrummler
, 1 year ago
java.lang.OutOfMemoryError: Failed to allocate a 12550156 byte allocation with 3777264 free bytes and 3MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 15116556 byte allocation with 5346608 free bytes and 5MB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)	at android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:639)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:615)	at com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:329)	at com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:220)	at com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:153)	at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:50)	at com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:19)	at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:39)	at com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:20)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeBitmapWrapper(GifBitmapWrapperResourceDecoder.java:121)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeStream(GifBitmapWrapperResourceDecoder.java:94)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:71)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:61)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:22)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:24)	at com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperStreamResourceDecoder.decode(GifBitmapWrapperStreamResourceDecoder.java:14)	at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:39)	at com.bumptech.glide.load.resource.file.FileToStreamDecoder.decode(FileToStreamDecoder.java:17)	at com.bumptech.glide.load.engine.DecodeJob.loadFromCache(DecodeJob.java:222)	at com.bumptech.glide.load.engine.DecodeJob.decodeSourceFromCache(DecodeJob.java:109)	at com.bumptech.glide.load.engine.EngineRunnable.decodeFromCache(EngineRunnable.java:116)	at com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:99)	at com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)	at java.util.concurrent.FutureTask.run(FutureTask.java:237)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)