Olá Amigos,
Venho por meio desta informar quando eu realizo o parse do meu arquivo xml, dá um estouro de memória:
Exception in thread “Thread-38” java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
at java.lang.String.(Unknown Source)
at org.apache.xerces.xni.XMLString.toString(Unknown Source)
at org.apache.xerces.parsers.AbstractDOMParser.characters(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanContent(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at br.gov.inca.rhcnet.importacao.Persistidor.persiste(Persistidor.java:73)
at br.gov.inca.rhcnet.importacao.Persistidor.access$4(Persistidor.java:62)
at br.gov.inca.rhcnet.importacao.Persistidor$PersistidorRunnable.run(Persistidor.java:176)
at java.lang.Thread.run(Unknown Source)
Agradeço aos que tentarem e aos que ajudarem tb,
Abraços