views:

23

answers:

1

I have a large XML document (50G+) to process. Loading this to normal dom (saxon) require more than 160G. Not that much RAM or swap space.

Is there any library that provides h a disk based DOM tree? Any thing for Java?

+1  A: 

No, afaik all DOM implementations are memory bound.

You should use a streaming parser like StAX or Xpp3.

Peter Knego