mkrajnak wrote: > I am processing a very large xml file, 13MB, using clojure.xml.parse > and clojure.contrib.zip-filter.xml with clojure 1.0.0.
clojure.xml.parse loads the whole document into memory at once so it's only really suitable for small (at most a megabyte or two) XML documents. Have a look at something like Xom instead: http://www.xom.nu/ If you're looking for an example of usage from Clojure, Mark Triggs has a nifty wrapper for Xom that efficiently turns an XML document into a lazy-seq (using a queue) which he routinely uses on multi-gigabyte XML files: http://github.com/marktriggs/xml-picker-seq -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en