java.lang.RuntimeException: An error occured while executing doInBackground()

Stack Overflow | roostaamir | 6 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

    Android gives me `OutOfMemoryException` when loading images from web in a listview

    Stack Overflow | 6 months ago | roostaamir
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    [Crash Log] Thu, 17 Dec 2015 23:41:17 GMT

    GitHub | 1 year ago | blFeedbackBot
    java.lang.OutOfMemoryError: Failed to allocate a 1638412 byte allocation with 55088 free bytes and 53KB until OOM
  3. 0

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

    GitHub | 2 years ago | licheedev
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 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
  6. 0

    GitHub comment 1171#243378433

    GitHub | 6 months ago | IRMobydick
    java.util.concurrent.ExecutionException: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
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 37602252 byte allocation with 16776720 free bytes and 29MB 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:863)
    4. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:839)
    5. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:877)
    5 frames
  3. net.faraznet.provider
    CourierArrayAdapter$LoadImageTask.doInBackground
    1. net.faraznet.provider.arrayadapters.CourierArrayAdapter$LoadImageTask.doInBackground(CourierArrayAdapter.java:99)
    2. net.faraznet.provider.arrayadapters.CourierArrayAdapter$LoadImageTask.doInBackground(CourierArrayAdapter.java:76)
    2 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:292)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame