java.lang.OutOfMemoryError: Failed to allocate a 80 byte allocation with 8388608 free bytes and 360MB until OOM; failed due to fragmentation (required continguous free 8192 bytes for a new buffer where largest contiguous free 4096 bytes)

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 d2callpod
, 1 year ago
Failed to allocate a 80 byte allocation with 8388608 free bytes and 360MB until OOM; failed due to fragmentation (required continguous free 8192 bytes for a new buffer where largest contiguous free 4096 bytes)
java.lang.OutOfMemoryError: Failed to allocate a 80 byte allocation with 8388608 free bytes and 360MB until OOM; failed due to fragmentation (required continguous free 8192 bytes for a new buffer where largest contiguous free 4096 bytes)
at com.squareup.haha.perflib.HprofParser.loadInstanceDump(HprofParser.java:561)
at com.squareup.haha.perflib.HprofParser.loadHeapDump(HprofParser.java:351)
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: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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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