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

  1. ,
    via oracle.com by Unknown author

    An easy way to solve OutOfMemoryError in java is to increase the maximum heap size by using JVM options -Xmx512M, this will immediately solve your OutOfMemoryError.

  2. ,
    via Stack Overflow by Eugene Yokota

    In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m.

    This should increase the memory heap for all the builds/projects. The above memory size is 1 GB.

Solutions on the web

via GitHub by israelidanny
, 1 year ago
This exception has no message.
via GitHub by sethrosetter
, 1 year ago
This exception has no message.
via GitHub by swaheed2
, 1 year ago
This exception has no message.
via GitHub by deeman30rus
, 1 year ago
This exception has no message.
java.lang.OutOfMemoryError: Failed to allocate a 960400 byte allocation with 620104 free bytes and 605KB until OOM	at java.util.Arrays.copyOf(Arrays.java:3231)	at java.util.Arrays.copyOf(Arrays.java:3204)	at java.util.ArrayList.grow(ArrayList.java:249)	at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:223)	at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:215)	at java.util.ArrayList.add(ArrayList.java:441)	at com.couchbase.lite.router.Router.responseBodyForChanges(Router.java:1529)	at com.couchbase.lite.router.Router.doChanges(Router.java:1846)	at com.couchbase.lite.router.Router.do_GET_Document_changes(Router.java:1730)	at java.lang.reflect.Method.invoke(Native Method)	at com.couchbase.lite.router.Router.start(Router.java:556)	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)