java.lang.OutOfMemoryError: Failed to allocate a 32855856 byte allocation with 16777216 free bytes and 29MB 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by dca-ps
, 1 year ago
Failed to allocate a 32855856 byte allocation with 16777216 free bytes and 29MB until OOM
via GitHub by samirmangroliya
, 1 year ago
Failed to allocate a 36486736 byte allocation with 16777216 free bytes and 22MB until OOM
via Stack Overflow by RominaV
, 4 months ago
Failed to allocate a 25235166 byte allocation with 16777216 free bytes and 20MB until OOM
via Stack Overflow by Corey Wu
, 1 year ago
Failed to allocate a 57993496 byte allocation with 16764448 free bytes and 32MB until OOM
via Stack Overflow by amin eisa
, 11 months ago
Failed to allocate a 24863134 byte allocation with 4194304 free bytes and 16MB until OOM
via Stack Overflow by Georgi Koemdzhiev
, 1 year ago
Failed to allocate a 6289456 byte allocation with 4315368 free bytes and 4MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 32855856 byte allocation with 16777216 free bytes and 29MB until OOM
at java.lang.AbstractStringBuilder.enlargeBuffer(AbstractStringBuilder.java:95)
at java.lang.AbstractStringBuilder.append0(AbstractStringBuilder.java:125)
at java.lang.StringBuffer.append(StringBuffer.java:278)
at java.io.StringWriter.write(StringWriter.java:123)
at com.android.internal.util.FastPrintWriter.flushLocked(FastPrintWriter.java:358)
at com.android.internal.util.FastPrintWriter.appendLocked(FastPrintWriter.java:303)
at com.android.internal.util.FastPrintWriter.write(FastPrintWriter.java:625)
at java.io.PrintWriter.append(PrintWriter.java:691)
at java.io.PrintWriter.append(PrintWriter.java:687)
at java.io.Writer.append(Writer.java:198)
at java.lang.Throwable.printStackTrace(Throwable.java:324)
at java.lang.Throwable.printStackTrace(Throwable.java:300)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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