[Haskell-cafe] Haskell XML Parsers

Malcolm Wallace malcolm.wallace at cs.york.ac.uk
Thu May 6 04:07:04 EDT 2010


>> 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.

For the archives, the user took the suggestion of switching to HaXml's  
lazy parser, which solved the memory issue.

Regards,
     Malcolm



More information about the Haskell-Cafe mailing list