*With* William's patch, the query works for me and the string is never
materialized (where x.xq is William's query):
$ time bin/zorba -f -q /tmp/x.xq
# ... output elided ...
It takes longer than it should, but it does run to completion in a not-
too-long amount of time. However, the performance is pretty bad
$ time wc -l /tmp/doc.xml
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
Status in Zorba - The XQuery Processor:
I wrote the following query:
import module namespace file ="http://expath.org/ns/file";
for $line at $i in file:read-text-lines("doc.xml")
if($i lt 1104869) then () else concat($line, "
Where doc.xml is a large document.
The result of the query seems to never end and its memory footprint is huge.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~zorba-coders
Post to : email@example.com
Unsubscribe : https://launchpad.net/~zorba-coders
More help : https://help.launchpad.net/ListHelp