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 apache.org by Unknown author, 2 years ago
via Apache's JIRA Issue Tracker by Stefano Bortoli, 2 years ago
via GitHub by michaeljmcd
, 2 years ago
via GitHub by thc202
, 2 years ago
via wikimedia.org by Unknown author, 2 years ago
java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882)[:1.6.0_23] at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)[:1.6.0_23] at java.lang.StringBuilder.append(StringBuilder.java:130)[:1.6.0_23] at java.lang.StringBuilder.append(StringBuilder.java:171)[:1.6.0_23] at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:157)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.Logger.logRaw(Logger.java:649)[jboss-logmanager.jar:1.2.0.CR9] at org.jboss.logmanager.Logger.log(Logger.java:467)[jboss-logmanager.jar:1.2.0.CR9] at com.sun.faces.application.view.FaceletViewHandlingStrategy.handleRenderException(FaceletViewHandlingStrategy.java:894)[:2.0.3-FCS] at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:414)[:2.0.3-FCS] at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:127)[:2.0.3-FCS] at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)[:2.0.3-FCS] at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)[:2.0.3-FCS] at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)[:2.0.3-FCS] at javax.faces.webapp.FacesServlet.service(FacesServlet.java:309)[:2.0.3-FCS] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:324)[:6.0.0.Final] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:242)[:6.0.0.Final] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:734)[:6.0.0.Final] at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:541)[:6.0.0.Final] at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:479)[:6.0.0.Final] at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:407)[:6.0.0.Final] at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)[:6.0.0.Final]