** Summary changed: - file:read-text-lines() not streaming? + file:read-text-lines() blocking
** Description changed: 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") return - if($i lt 1104869) then () else concat($line, " + if($i lt 1104869) then () else concat($line, " ") Where doc.xml is a large document. - The result of the query is not streaming and its memory footprint is huge. + The result of the query seems to never end and its memory footprint is huge. -- You received this bug notification because you are a member of Zorba Coders, which is the registrant for Zorba. https://bugs.launchpad.net/bugs/921458 Title: file:read-text-lines() blocking Status in Zorba - The XQuery Processor: New Bug description: 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") return 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: https://bugs.launchpad.net/zorba/+bug/921458/+subscriptions -- Mailing list: https://launchpad.net/~zorba-coders Post to : zorba-coders@lists.launchpad.net Unsubscribe : https://launchpad.net/~zorba-coders More help : https://help.launchpad.net/ListHelp