java.lang.OutOfMemoryError: Failed to allocate a 529560 byte allocation with 244376 free bytes and 238KB until OOM

GitHub | piersguo | 9 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

    GitHub comment 573#236492401

    GitHub | 9 months ago | piersguo
    java.lang.OutOfMemoryError: Failed to allocate a 529560 byte allocation with 244376 free bytes and 238KB until OOM
  2. 0

    Leak analysis failed OOM exception

    GitHub | 1 year ago | rohitramkumar308
    java.lang.OutOfMemoryError: Failed to allocate a 156916 byte allocation with 140296 free bytes and 137KB until OOM
  3. 0

    GitHub comment 229#125370351

    GitHub | 2 years ago | ryancford
    java.lang.OutOfMemoryError: Failed to allocate a 529560 byte allocation with 352424 free bytes and 344KB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Leak analysis failed with OOM

    GitHub | 2 years ago | alexin
    java.lang.OutOfMemoryError: Failed to allocate a 156916 byte allocation with 8503392 free bytes; failed due to fragmentation (largest possible contiguous allocation 86024 bytes)
  6. 0

    GitHub comment 348#168080788

    GitHub | 1 year ago | TannerPerrien
    java.lang.OutOfMemoryError: Failed to allocate a 235368 byte allocation with 222464 free bytes and 217KB 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 529560 byte allocation with 244376 free bytes and 238KB until OOM

    at java.util.ArrayList.add()
  2. Java RT
    ArrayList.add
    1. java.util.ArrayList.add(ArrayList.java:118)
    1 frame
  3. com.squareup.haha
    HprofParser.parse
    1. com.squareup.haha.perflib.ClassObj.addInstance(ClassObj.java:93)
    2. com.squareup.haha.perflib.Snapshot.resolveClasses(Snapshot.java:284)
    3. com.squareup.haha.perflib.HprofParser.parse(HprofParser.java:198)
    3 frames
  4. com.squareup.leakcanary
    HeapAnalyzerService.onHandleIntent
    1. com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:81)
    2. com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:58)
    2 frames
  5. Android Platform
    HandlerThread.run
    1. android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
    2. android.os.Handler.dispatchMessage(Handler.java:102)
    3. android.os.Looper.loop(Looper.java:145)
    4. android.os.HandlerThread.run(HandlerThread.java:61)
    4 frames