java - Importing big XML file (100k of records) into database -
Problems with the problem of parsing the XML I have 47% of its cosuming CPU and its very slow speed It seems that DOM has loaded XML into memory and from there it starts reading the XML tree node from the node.
I am reading a node and dumping it into the database.
I
I am using JDK 1.4.2_05.
Look at SAX parser, the only way to do this with XML without creating a complete DOM in memory It has some limitations but it may be in line with your needs.
Comments
Post a Comment