java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 6365196 byte allocation with 865912 free bytes and 845KB until OOM

Stack Overflow | Stephen | 4 months ago
  1. 0

    Out Of Memory Error When loading more images in Glide

    Stack Overflow | 4 months ago | Stephen
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 6365196 byte allocation with 865912 free bytes and 845KB until OOM
  2. 0

    Error creating a bitmap from a File

    GitHub | 2 years ago | russellhoff
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 6127628 byte allocation with 4344378 free bytes and 4MB until OOM
  3. 0

    Out of memory Exception when downloading some large images

    GitHub | 12 months ago | T-Rex96
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ViewPage中的Fragment 中使用,如果图片过多会出现OOM

    GitHub | 4 months ago | stevefat
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 1935192 byte allocation with 1761372 free bytes and 1720KB until OOM
  6. 0

    Glide OutOfMemory(OOM) Issue

    GitHub | 2 months ago | StephenBlufour
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 6365196 byte allocation with 865912 free bytes and 845KB until OOM

  1. dmitry 1 times, last 7 months ago
  2. balajivaishnav 1 times, last 8 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    Failed to allocate a 6365196 byte allocation with 865912 free bytes and 845KB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    BitmapFactory.decodeStream
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
    3. android.graphics.BitmapFactory.decodeStreamInternal(BitmapFactory.java:635)
    4. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:611)
    4 frames
  3. Glide
    EngineRunnable.run
    1. com.bumptech.glide.load.resource.bitmap.Downsampler.decodeStream(Downsampler.java:329)
    2. com.bumptech.glide.load.resource.bitmap.Downsampler.downsampleWithSize(Downsampler.java:220)
    3. com.bumptech.glide.load.resource.bitmap.Downsampler.decode(Downsampler.java:153)
    4. com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:50)
    5. com.bumptech.glide.load.resource.bitmap.StreamBitmapDecoder.decode(StreamBitmapDecoder.java:19)
    6. com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:39)
    7. com.bumptech.glide.load.resource.bitmap.ImageVideoBitmapDecoder.decode(ImageVideoBitmapDecoder.java:20)
    8. com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeBitmapWrapper(GifBitmapWrapperResourceDecoder.java:121)
    9. com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decodeStream(GifBitmapWrapperResourceDecoder.java:94)
    10. com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:71)
    11. com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:61)
    12. com.bumptech.glide.load.resource.gifbitmap.GifBitmapWrapperResourceDecoder.decode(GifBitmapWrapperResourceDecoder.java:22)
    13. com.bumptech.glide.load.engine.DecodeJob.decodeFromSourceData(DecodeJob.java:190)
    14. com.bumptech.glide.load.engine.DecodeJob.decodeSource(DecodeJob.java:177)
    15. com.bumptech.glide.load.engine.DecodeJob.decodeFromSource(DecodeJob.java:128)
    16. com.bumptech.glide.load.engine.EngineRunnable.decodeFromSource(EngineRunnable.java:122)
    17. com.bumptech.glide.load.engine.EngineRunnable.decode(EngineRunnable.java:101)
    18. com.bumptech.glide.load.engine.EngineRunnable.run(EngineRunnable.java:58)
    18 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    5. java.lang.Thread.run(Thread.java:818)
    5 frames
  5. Glide
    FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run
    1. com.bumptech.glide.load.engine.executor.FifoPriorityThreadPoolExecutor$DefaultThreadFactory$1.run(FifoPriorityThreadPoolExecutor.java:118)
    1 frame