java.lang.OutOfMemoryError: Java heap space

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 Stack Overflow by Tom
, 8 months ago
via Stack Overflow by Unknown author, 2 years ago
via Oracle Community by 807601, 4 months ago
java.lang.OutOfMemoryError: Java heap space
at com.sun.org.apache.xerces.internal.dom.DeferredDocumentImpl.getNodeObject(DeferredDocumentImpl.java:953)
at com.sun.org.apache.xerces.internal.dom.DeferredElementNSImpl.synchronizeData(DeferredElementNSImpl.java:120)
at com.sun.org.apache.xerces.internal.dom.ElementNSImpl.getLocalName(ElementNSImpl.java:334)
at com.sun.org.apache.xerces.internal.dom.DeepNodeListImpl.nextMatchingElementAfter(DeepNodeListImpl.java:218)
at com.sun.org.apache.xerces.internal.dom.DeepNodeListImpl.item(DeepNodeListImpl.java:143)
at com.sun.enterprise.webservice.WsUtil.addImportsAndIncludes(WsUtil.java:561)
at com.sun.enterprise.webservice.WsUtil.procesSchemaImports(WsUtil.java:590)
at com.sun.enterprise.webservice.WsUtil.parseRelativeImports(WsUtil.java:533)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1918)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.addFileAndDecendents(WsUtil.java:1971)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1931)
at com.sun.enterprise.webservice.WsUtil.getWsdlsAndSchemas(WsUtil.java:1889)
at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.prepareInvocation(EjbRuntimeEndpointInfo.java:269)
at com.sun.enterprise.webservice.EjbRuntimeEndpointInfo.initRuntimeInfo(EjbRuntimeEndpointInfo.java:344)
at com.sun.enterprise.webservice.WebServiceEjbEndpointRegistry.registerEjbWebServiceEndpoint(WebServiceEjbEndpointRegistry.java:122)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:611)
at com.sun.enterprise.server.EJBModuleLoader.doLoad(EJBModuleLoader.java:171)
at com.sun.enterprise.server.AbstractLoader.load(AbstractLoader.java:240)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

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