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 Stack Overflow by FredMaggiowski
, 2 years ago
Failed to allocate a 52962812 byte allocation with 16764752 free bytes and 41MB until OOM
via Stack Overflow by BGoll
, 2 years ago
Failed to allocate a 35116844 byte allocation with 16773184 free bytes and 32MB until OOM
via Stack Overflow by jones
, 1 year ago
Failed to allocate a 31082250 byte allocation with 4182256 free bytes and 19MB until OOM
via GitHub by asadana
, 7 months ago
Failed to allocate a 28605692 byte allocation with 16777216 free bytes and 17MB until OOM
via GitHub by BraunreutherA
, 1 year ago
Failed to allocate a 46569656 byte allocation with 16777216 free bytes and 24MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 52962812 byte allocation with 16764752 free bytes and 41MB until OOM at java.lang.StringFactory.newStringFromChars(Native Method) at java.lang.AbstractStringBuilder.toString(AbstractStringBuilder.java:629) at java.lang.StringBuilder.toString(StringBuilder.java:663) at org.json.JSONStringer.toString(JSONStringer.java:430) at org.json.JSONObject.toString(JSONObject.java:690) at it.example.sampler.controllers.network.RequestBodyEncoder.serialise(RequestBodyEncoder.java:69) at it.example.sampler.controllers.network.RequestBodyEncoder.createPacket(RequestBodyEncoder.java:50) at it.example.sampler.services.FileStoreRunnable.run(FileStoreRunnable.java:57) at java.lang.Thread.run(Thread.java:818)