java.lang.OutOfMemoryError: Failed to allocate a 4760012 byte allocation with 497532 free bytes and 485KB until OOM

GitHub | noear | 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

    OutOfMemoryError

    GitHub | 7 months ago | noear
    java.lang.OutOfMemoryError: Failed to allocate a 4760012 byte allocation with 497532 free bytes and 485KB until OOM
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    java.lang.OutOfMemoryError:

    GitHub | 4 years ago | rajendrabohra
    java.lang.OutOfMemoryError: bitmap size exceeds VM budget(Heap Size=7879KB, Allocated=4842KB, Bitmap Size=24937KB)

  1. dmitry 1 times, last 10 months ago
  2. balajivaishnav 1 times, last 11 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 4760012 byte allocation with 497532 free bytes and 485KB 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. Universal Image Loader Library
    LoadAndDisplayImageTask.run
    1. com.nostra13.universalimageloader.core.decode.BaseImageDecoder.decode(BaseImageDecoder.java:83)
    2. com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.decodeImage(LoadAndDisplayImageTask.java:265)
    3. com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.tryLoadBitmap(LoadAndDisplayImageTask.java:223)
    4. com.nostra13.universalimageloader.core.LoadAndDisplayImageTask.run(LoadAndDisplayImageTask.java:136)
    4 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:818)
    3 frames