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 swaheed2
, 1 year ago
Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB until OOM
java.lang.OutOfMemoryError: Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB until OOM at com.fasterxml.jackson.core.util.ByteArrayBuilder.toByteArray(ByteArrayBuilder.java:118) at com.fasterxml.jackson.databind.ObjectMapper.writeValueAsBytes(ObjectMapper.java:2807) at com.couchbase.lite.internal.Body.lazyLoadJsonFromObject(Body.java:83) at com.couchbase.lite.internal.Body.getJson(Body.java:73) at com.couchbase.lite.router.Router.setResponse(Router.java:685) at com.couchbase.lite.router.Router.start(Router.java:635) at com.couchbase.lite.listener.LiteServlet.service(LiteServlet.java:141) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at Acme.Serve.Serve$ServeConnection.runServlet(Serve.java:2251) at Acme.Serve.Serve$ServeConnection.parseRequest(Serve.java:2176) at Acme.Serve.Serve$ServeConnection.run(Serve.java:1988) at Acme.Utils$ThreadPool$PooledThread.run(Utils.java:1223) at java.lang.Thread.run(Thread.java:761)