zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #04059
[Bug 921458] [NEW] file:read-text-lines() not streaming?
Public bug reported:
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 is not streaming and its memory footprint is huge.
** Affects: zorba
Importance: High
Status: New
** Changed in: zorba
Importance: Undecided => High
** Changed in: zorba
Milestone: None => 2.2
--
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() not streaming?
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 is not streaming and its memory footprint is huge.
To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/921458/+subscriptions
Follow ups
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Dana Florescu, 2012-06-12
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Zorba Build Bot, 2012-04-16
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Launchpad Bug Tracker, 2012-04-13
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-04-13
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-04-11
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-03-22
-
[Bug 921458] Re: file:read-text-lines() blocking
From: William Candillon, 2012-02-15
-
[Bug 921458] Re: file:read-text-lines() blocking
From: William Candillon, 2012-02-15
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-02-15
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Paul J. Lucas, 2012-02-02
-
[Bug 921458] Re: file:read-text-lines() blocking
From: William Candillon, 2012-02-01
-
[Bug 921458] Re: file:read-text-lines() blocking
From: Matthias Brantner, 2012-02-01
-
[Bug 921458] Re: file:read-text-lines() blocking
From: William Candillon, 2012-02-01
-
[Bug 921458] Re: file:read-text-lines() blocking
From: William Candillon, 2012-01-25
-
[Bug 921458] Re: file:read-text-lines() not streaming?
From: William Candillon, 2012-01-25
-
[Bug 921458] [NEW] file:read-text-lines() not streaming?
From: William Candillon, 2012-01-25
References