java.lang.OutOfMemoryError

Failed to allocate a 2807208 byte allocation with 566984 free bytes and 553KB 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 web2784

  • via GitHub by domenukk
    , 11 months ago
    Failed to allocate a 2807208 byte allocation with 566984 free bytes and 553KB until OOM
  • Failed to allocate a 2807208 byte allocation with 2467638 free bytes and 2MB until OOM
  • via GitHub by liulei9385
    , 1 year ago
    Failed to allocate a 2807208 byte allocation with 1632840 free bytes and 1594KB until OOM
  • Stack trace

    • java.lang.OutOfMemoryError: Failed to allocate a 2807208 byte allocation with 566984 free bytes and 553KB until OOM at com.squareup.haha.trove.TLongObjectHashMap.rehash(TLongObjectHashMap.java:226) at com.squareup.haha.trove.THash.postInsertHook(THash.java:283) at com.squareup.haha.trove.TLongObjectHashMap.put(TLongObjectHashMap.java:209) at com.squareup.haha.perflib.Heap.addInstance(Heap.java:119) at com.squareup.haha.perflib.Snapshot.addInstance(Snapshot.java:186) at com.squareup.haha.perflib.HprofParser.loadPrimitiveArrayDump(HprofParser.java:593) at com.squareup.haha.perflib.HprofParser.loadHeapDump(HprofParser.java:359) at com.squareup.haha.perflib.HprofParser.parse(HprofParser.java:186) 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:66) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:148) 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

    You’re the first here who have seen this exception.