I have been looking at using XML for a little program I have been
writing. The file I am currently trying to load is about 9MB, and I
have now tried to use
HaXml and HST. Without any of my own code, just a simple call to the
basic parsers, they both use huge amount of memory.
HST is the worst and about 7GB and climbing. HaXml uses 1.3Gb.
Are you using Text.XML.HaXml.ParseLazy, or Text.XML.HaXml.Parse? The
lazy version should show much better space usage, provided your
subsequent usage of the document is roughly a single-pass traversal.
Regards,
Malcolm
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe