java.lang.OutOfMemoryError: Failed to allocate a 1508364 byte allocation with 301952 free bytes and 294KB until OOM

Stack Overflow | Mete Alanlı | 3 months ago
  1. 0

    Nativescript doInBackground Thrown and Cause OutOfMemory Error

    Stack Overflow | 3 months ago | Mete Alanlı
    java.lang.OutOfMemoryError: Failed to allocate a 1508364 byte allocation with 301952 free bytes and 294KB until OOM
  2. 0

    OOMs on Lollipop when using ViewPager for large images

    GitHub | 1 year 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 1508364 byte allocation with 301952 free bytes and 294KB 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:975)
    4. android.graphics.Bitmap.createBitmap(Bitmap.java:946)
    5. android.graphics.Bitmap.createBitmap(Bitmap.java:913)
    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:128)
    7. com.facebook.imagepipeline.decoder.ImageDecoder.decodeImage(ImageDecoder.java:94)
    8. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.doDecode(DecodeProducer.java:194)
    9. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder.access$200(DecodeProducer.java:97)
    10. com.facebook.imagepipeline.producers.DecodeProducer$ProgressiveDecoder$1.run(DecodeProducer.java:129)
    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:1113)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
    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