XML: Process large data

前端 未结 6 1623
盖世英雄少女心
盖世英雄少女心 2021-01-14 13:18

What XML-parser do you recommend for the following purpose:

The XML-file (formatted, containing whitespaces) is around 800 MB. It mostly contains three types of tag

6条回答
  •  迷失自我
    2021-01-14 13:40

    Large XML files and Java heap space are a vexed issue. StAX works on big files - it certainly handles 1GB without batting an eyelid. There's a useful article on the subject of using StAx here: XML.com which got me up and running with it in about 20 minutes.

提交回复
热议问题