java.lang.OutOfMemoryError: Failed to allocate a 17 byte allocation with 3760 free bytes and 3KB 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 uccmawei
, 1 year ago
Failed to allocate a 17 byte allocation with 3760 free bytes and 3KB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 17 byte allocation with 3760 free bytes and 3KB until OOM
at java.util.Formatter.transformFromInteger(Formatter.java:1676)
at java.util.Formatter.transform(Formatter.java:1461)
at java.util.Formatter.doFormat(Formatter.java:1081)
at java.util.Formatter.format(Formatter.java:1042)
at java.util.Formatter.format(Formatter.java:1011)
at java.lang.String.format(String.java:1554)
at java.lang.String.format(String.java:1528)
at com.squareup.leakcanary.HeapAnalyzer.generateRootKey(HeapAnalyzer.java:123)
at com.squareup.leakcanary.HeapAnalyzer.deduplicateGcRoots(HeapAnalyzer.java:106)
at com.squareup.leakcanary.HeapAnalyzer.checkForLeak(HeapAnalyzer.java:82)
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)

Users with the same issue

Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 months ago
2 times, 6 months ago

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