aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "JAXB" Watch "JAXB" New topic
Author

JAXB

katragunta sreenivas
Greenhorn

Joined: Oct 31, 2007
Posts: 1
Hi,
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.

Thanks
Sreenivas.k
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..

http://java.sun.com/webservices/docs/1.6/tutorial/doc/SJSXP3.html
http://www.ibm.com/developerworks/xml/library/x-tipstx/

Thanks,
Chandra
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAXB