[jdom-interest] Out of memory mit beta 8

Tim vor der Brueck brueck at dfki.de
Tue Jul 23 04:03:53 PDT 2002


I get with the new JDOM beta 8 always Out of Memory Errors with big
files.
This did not occur with the old JDOM beta 7.
By the way, I started my program with java -Xms100M -Xmx300M
Maybe an error in the beta?

Stack-Trace:

Loading Rules...Exception in thread "main" java.lang.OutOfMemoryError

at java.lang.StringBuffer.copy(StringBuffer.java, Compiled Code)

at java.lang.StringBuffer.setLength(StringBuffer.java, Compiled Code)

at org.jdom.input.SAXHandler.flushCharacters(SAXHandler.java, Compiled
Code)

at org.jdom.input.SAXHandler.endElement(SAXHandler.java, Compiled Code)

at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java,
Compiled Code)

at
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java,
Compiled Code)

at
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java,
Compiled Code)

at
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java,
Compiled Code)

at org.apache.xerces.framework.XMLParser.parse(XMLParser.java, Compiled
Code)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java, Compiled Code)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java, Compiled Code)

at org.jdom.input.SAXBuilder.build(SAXBuilder.java, Compiled Code)

at de.dfki.lt.egram.xml.Grammar.open(Grammar.java, Compiled Code)

at de.dfki.lt.egram.gui.Editor.open(Editor.java, Compiled Code)

at de.dfki.lt.egram.gui.Editor.main(Editor.java, Compiled Code)







More information about the jdom-interest mailing list