java.lang.OutOfMemoryError: Failed to allocate a 39474628 byte allocation with 16777216 free bytes and 16MB 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 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.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 java.lang.Thread.run(Thread.java:761)

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.

Write tip

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