A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Product and Other Certifications
Joined: Oct 31, 2007
Oct 31, 2007 23:14:00
I am trying to parse 200 MB large xml file for converting into
objects by using JAXB,then memory usage of jvm is very large,how to reduce the momory usage.
Is there any other parsers to parse the largesize xml(200 MB) other than SAX and DOM.
And also is there any other Implementations for JAXB to parse the xml files.
Please Reply to me for this ASAP.
Joined: Jul 21, 2004
Nov 03, 2007 00:38:00
You can use StAX API, which is a pull parsing technology. With this StAX parser, you can parse large size XML files. It is already part of JDK 1.6.
The following are some useful links..
I agree. Here's the link:
JAXB Parsing error: The entity name must immediately follow the '&' in the entity reference
How to Convert XSD into XML
Parsingof XML taking time
What to use when Applying XSL to 150Mb XML file
JAXB XPATH API
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014