Bugs item #1881181, was opened at 2008-01-28 15:36
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1881181&group_id=56967

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PF/runtime
Group: Pathfinder CVS Head
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jan Flokstra (jflokstra)
Assigned to: Nobody/Anonymous (nobody)
Summary: following uses too much memory

Initial Comment:
Next too the difficult to reproduce preceding/following bug #1850772 
([preceding and following]-sibling:: bug) there is another problem with the 
following() axis step .

On the small 1M xmark document the queries listed below all result in a memory 
allocation failure of BAT's sized 200M to several G's. I think this example is 
so simple it should run on any machine. 

count(doc("xmark1.xml")//street[./following::keyword[./following::current]])
count(doc("xmark1.xml")//*[./following::incategory[./following::interest]])
count(doc("xmark1.xml")//*[./following::category]/following::interest)
count(doc("xmark1.xml")//*[./following::incategory[./following::interest]])
count(doc("xmark1.xml")//itemref[./following::phone[./following::africa]])

The first query for instance running the CVS HEAD (28/1-14:00) on SuSe9.3 (1G 
RAM)

[EMAIL PROTECTED]:~/scripts/DATA> mclient -lx
xquery>count(doc("xmark1.xml")//street[./following::keyword[./following::current]])
more>MAPI  = [EMAIL PROTECTED]:50000
QUERY = 
count(doc("xmark1.xml")//street[./following::keyword[./following::current]])
ERROR = !ERROR: GDKload failed: name=06/646, ext=head.priv
        !ERROR: PFll_following: could not allocate a result BAT of size 
555611000.
        !ERROR: PFll_following: operation failed.
xquery>          

I added the used xmark document bzipped2 to this report,

Jan.                                 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1881181&group_id=56967

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to