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 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 Sakai JIRA by Tim Worrall, 1 year ago
via Google Groups by (JIRA), 1 year ago
via Jenkins JIRA by Yngve Hammersland, 1 year ago
via Google Groups by Yves Schumann, 2 years ago
via Jenkins JIRA by Yngve Hammersland, 1 year ago
java.lang.OutOfMemoryError: Java heap space	at java.util.Arrays.copyOf(	at	at	at	at sun.nio.cs.StreamEncoder.writeBytes(	at sun.nio.cs.StreamEncoder.implWrite(	at sun.nio.cs.StreamEncoder.write(	at	at	at	at$(	at	at	at com.hp.hpl.jena.sparql.resultset.JSONOutputResultSet.printResource(	at com.hp.hpl.jena.sparql.resultset.JSONOutputResultSet.binding(	at com.hp.hpl.jena.sparql.resultset.ResultSetApply.apply(	at com.hp.hpl.jena.sparql.resultset.JSONOutput.format(	at com.hp.hpl.jena.query.ResultSetFormatter.outputAsJSON(	at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.RDFServiceJena.sparqlSelectQuery(	at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.logging.LoggingRDFService.sparqlSelectQuery(	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.execSelect(	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(	at edu.cornell.mannlib.vitro.webapp.dao.jena.RDFServiceGraph.find(	at com.hp.hpl.jena.graph.compose.MultiUnion.singleGraphFind(	at com.hp.hpl.jena.graph.compose.MultiUnion.graphBaseFind(	at com.hp.hpl.jena.graph.impl.GraphBase.find(	at com.hp.hpl.jena.graph.GraphUtil.findAll(	at com.hp.hpl.jena.graph.impl.GraphBase.graphBaseSize(	at com.hp.hpl.jena.graph.impl.GraphBase.size(	at com.hp.hpl.jena.rdf.model.impl.ModelCom.size(	at edu.cornell.mannlib.vitro.webapp.rdfservice.adapters.AbstractOntModelDecorator.size(	at edu.cornell.mannlib.vitro.webapp.servlet.setup.ContentModelSetup.setUpJenaDataSource(