aspose file tools*
The moose likes XML and Related Technologies and the fly likes Huge Xml File Parsing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Huge Xml File Parsing" Watch "Huge Xml File Parsing" New topic
Author

Huge Xml File Parsing

pamir sonmez
Ranch Hand

Joined: May 31, 2010
Posts: 46
Normally, I was using jaxb to parse xml file into java objects.
However, now I have some heap problems

There are some files greater than 1GB.
Which library can I use for this?

I found some examples, tutorials and suggestions about vtd-xml, stax api, etc.
But I wonder your experiences and suggestions.

thanks in advance
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
SAX or StAX should work in that case, as they don't need the entire file in memory.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Huge Xml File Parsing
 
Similar Threads
help me with this scenario.....
writing XML
How to monitor a file?
Binary data via XML
Storing XML in Filesystem or Database - Which is faster?