[Haskell-cafe] hxt memory useage
ketil+haskell at ii.uib.no
Fri Jan 25 07:57:38 EST 2008
Matthew Pocock <matthew.pocock at ncl.ac.uk> writes:
> I've been using hxt to process xml files. Now that my files are getting a bit
> bigger (30m) I'm finding that hxt uses inordinate amounts of memory.
> Is this a known issue?
Yes. I parse what I suppose are rather large XML files (the largest
so far is 26GB), and ended up replacing HXT code with TagSoup. I also
needed to use concurrency. XML parsing is still slow, typically
consuming 90% of the CPU time, but at least it works without blowing
While I haven't tried HaXML, there is IMO a market opportunity for a
fast and small XML library, and I'd happily trade away features like
namespace support or arrows interfaces for that.
If I haven't seen further, it is by standing in the footprints of giants
More information about the Haskell-Cafe