java.lang.OutOfMemoryError: Failed to allocate a 10969356 byte allocation with 8599832 free bytes and 8MB until OOM

GitHub | wv1124 | 11 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

    OutOfMemoryError in react-native 0.25

    GitHub | 11 months ago | wv1124
    java.lang.OutOfMemoryError: Failed to allocate a 10969356 byte allocation with 8599832 free bytes and 8MB until OOM
  2. 0

    OOMs on Lollipop when using ViewPager for large images

    GitHub | 2 years ago | ixiaoluo
    java.lang.OutOfMemoryError: Failed to allocate a 2560012 byte allocation with 392548 free bytes and 383KB until OOM
  3. 0

    OOM Exception Why this occur

    GitHub | 1 year ago | karun2189
    java.lang.OutOfMemoryError: Failed to allocate a 7990284 byte allocation with 1407372 free bytes and 1374KB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 750#155716337

    GitHub | 1 year ago | tianlang
    java.lang.OutOfMemoryError: Failed to allocate a 1638412 byte allocation with 436016 free bytes and 425KB until OOM
  6. 0

    crash by oom when load an large image

    GitHub | 1 year ago | Raphael-Xi
    java.lang.OutOfMemoryError: Failed to allocate a 69596748 byte allocation with 16770800 free bytes and 53MB until OOM
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 10969356 byte allocation with 8599832 free bytes and 8MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Bitmap.createBitmap
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.Bitmap.nativeCreate(Native Method)
    3. android.graphics.Bitmap.createBitmap(Bitmap.java:812)
    4. android.graphics.Bitmap.createBitmap(Bitmap.java:789)
    5. android.graphics.Bitmap.createBitmap(Bitmap.java:756)
    5 frames
  3. com.facebook.imagepipeline
    JobScheduler$1.run
    1. com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:55)
    2. com.facebook.imagepipeline.memory.BitmapPool.alloc(BitmapPool.java:30)
    3. com.facebook.imagepipeline.memory.BasePool.get(BasePool.java:259)
    4. com.facebook.imagepipeline.platform.ArtDecoder.decodeStaticImageFromStream(ArtDecoder.java:137)
    5. com.facebook.imagepipeline.platform.ArtDecoder.decodeFromEncodedImage(ArtDecoder.java:81)
    6. com.facebook.imagepipeline.decoder.ImageDecoder.decodeStaticImage(ImageDecoder.java:127)
    7. com.facebook.imagepipeline.decoder.ImageDecoder.decodeImage(ImageDecoder.java:94)
    8. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode(DecodeProducer.java:188)
    9. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$200(DecodeProducer.java:96)
    10. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run(DecodeProducer.java:128)
    11. com.facebook.imagepipeline.producers.JobScheduler.doJob(JobScheduler.java:207)
    12. com.facebook.imagepipeline.producers.JobScheduler.access$000(JobScheduler.java:27)
    13. com.facebook.imagepipeline.producers.JobScheduler$1.run(JobScheduler.java:78)
    13 frames
  4. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    2 frames
  5. com.facebook.imagepipeline
    PriorityThreadFactory$1.run
    1. com.facebook.imagepipeline.core.PriorityThreadFactory$1.run(PriorityThreadFactory.java:43)
    1 frame
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:818)
    1 frame