Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Software Craftsman
this week in the
XML and Related Technologies
Huge Xml File Parsing
Joined: May 31, 2010
Jun 29, 2012 01:59:51
Normally, I was using jaxb to parse xml file into
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
Joined: Mar 22, 2005
Jun 29, 2012 02:44:27
SAX or StAX should work in that case, as they don't need the entire file in memory.
I agree. Here's the link:
subject: Huge Xml File Parsing
How to monitor a file?
help me with this scenario.....
Binary data via XML
Storing XML in Filesystem or Database - Which is faster?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015