java.lang.OutOfMemoryError: Failed to allocate a 5614568 byte allocation with 1780706 free bytes and 1738KB until OOM

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by msdx
, 9 months ago
Failed to allocate a 5614568 byte allocation with 1780706 free bytes and 1738KB until OOM
via GitHub by scdqs
, 1 year ago
Failed to allocate a 5614568 byte allocation with 1353946 free bytes and 1322KB until OOM
via GitHub by iverc
, 1 year ago
Failed to allocate a 5614568 byte allocation with 4904032 free bytes and 4MB until OOM
via GitHub by blast526
, 1 year ago
Failed to allocate a 2807208 byte allocation with 2251570 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
via GitHub by jamesbluecrow
, 1 year ago
Failed to allocate a 2807208 byte allocation with 2467638 free bytes and 2MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 5614568 byte allocation with 1780706 free bytes and 1738KB until OOM
at com.squareup.haha.trove.TLongHashSet.rehash(TLongHashSet.java:162)
at com.squareup.haha.trove.THash.postInsertHook(THash.java:283)
at com.squareup.haha.trove.TLongHashSet.add(TLongHashSet.java:146)
at com.squareup.haha.perflib.analysis.TopologicalSort$TopologicalSortVisitor.doVisit(TopologicalSort.java:87)
at com.squareup.haha.perflib.analysis.TopologicalSort.compute(TopologicalSort.java:36)
at com.squareup.haha.perflib.Snapshot.computeDominators(Snapshot.java:311)
at com.squareup.leakcanary.HeapAnalyzer.findLeakTrace(HeapAnalyzer.java:157)
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:91)
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:111)
at android.os.Looper.loop(Looper.java:194)
at android.os.HandlerThread.run(HandlerThread.java:61)

Users with the same issue

Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.