It's not a secret anymore!
The moose likes Product and Other Certifications and the fly likes JAXB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "JAXB" Watch "JAXB" New topic


katragunta sreenivas

Joined: Oct 31, 2007
Posts: 1
I am trying to parse 200 MB large xml file for converting into java 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.

Chandra Atla
Ranch Hand

Joined: Jul 21, 2004
Posts: 91
Hi Srinivas,

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:
subject: JAXB
jQuery in Action, 3rd edition