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

GitHub | StephenBlufour | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Glide OutOfMemory(OOM) Issue

    GitHub | 7 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
  2. 0

    When fling a ListView with images´╝îthe app threw OutOfMemoryError

    GitHub | 2 years ago | licheedev
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError
  3. 0

    GitHub comment 484#108872965

    GitHub | 2 years ago | russellhoff
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: Failed to allocate a 6127628 byte allocation with 2507450 free bytes and 2MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1171#243378433

    GitHub | 8 months ago | IRMobydick
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
  6. 0

    Out of memory exception

    GitHub | 8 months ago | SachinRana028
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError

  1. dmitry 1 times, last 11 months ago
  2. balajivaishnav 1 times, last 1 year 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
    ThreadPoolExecutor.runWorker
    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)
    3 frames