OutOfMemoryError when using SAX to process an XML do***ent
Robo, thanks for your advice - I've never used a profiler before, but I'll
make sure to try your implementation out.: )
BTW, for the record, it isn't a memory leak - I tried parsing the do***ent,
without the callbacks and found to my dismay that the SAX parser wasn't able
to parse the do***ent completely. In the process, I ran across an altogether
new error:
Error: org.xml.sax.SAXParseException: Parser has reached the entity
expansion limit "64,000" set by the Application.
A google search turned this do***ent up:
http://java.sun.com/webservices/docs/1.2/jaxp/ReleaseNotes.html#schema-limitations,
but I'm not sure if changing the entity expansion limit will really do
anything for me.
Any suggestions, comments, advice?
Sunitha/.
|