java.lang.OutOfMemoryError

Failed to allocate a 529560 byte allocation with 244376 free bytes and 238KB until OOM

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2782

  • via GitHub by piersguo
    , 10 months ago
    Failed to allocate a 529560 byte allocation with 244376 free bytes and 238KB until OOM
  • via GitHub by ryancford
    , 1 year ago
    Failed to allocate a 529560 byte allocation with 352424 free bytes and 344KB until OOM
  • Failed to allocate a 863052 byte allocation with 244432 free bytes and 238KB until OOM
  • Stack trace

    • java.lang.OutOfMemoryError: Failed to allocate a 529560 byte allocation with 244376 free bytes and 238KB until OOM at java.util.ArrayList.add(ArrayList.java:118) at com.squareup.haha.perflib.ClassObj.addInstance(ClassObj.java:93) at com.squareup.haha.perflib.Snapshot.resolveClasses(Snapshot.java:284) at com.squareup.haha.perflib.HprofParser.parse(HprofParser.java:198) at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:81) at com.squareup.leakcanary.internal.HeapAnalyzerService.onHandleIntent(HeapAnalyzerService.java:58) at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:145) at android.os.HandlerThread.run(HandlerThread.java:61)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    33 times, 1 year ago
    5 times, 7 months ago
    3 times, 1 year ago
    Unknown user
    Once, 1 year ago
    8 more bugmates