Bugs item #2693776, was opened at 2009-03-19 08:10
Message generated for change (Tracker Item Submitted) made by hans_0_
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2693776&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: MonetDB4 "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Hans (hans_0_)
Assigned to: Nobody/Anonymous (nobody)
Summary: xquery fails: memory allocation

Initial Comment:
The following xquery fails, using Monet4 Nov 2008 SP2.

$ cat error.xq
let $result := (let $items := doc("consumer04.xml")//properties/..
let $values := 
distinct-values((doc("consumer04.xml")//properties/..)/properties/content)
for $i in $items[properties/content]
where some $x in $values satisfies $x=$i/properties/content
return $i)
let $attrs := distinct-values(
  for $j in $result/properties/*
    return name($j)
  )
let $props := doc("elements.xml")//proper...@name]
let $subprops := doc("elements.xml")//subproper...@name]
return element result {
  element matches { count($result) },
  element attributes {
    let $usedprops := for $attr in $attrs return $pro...@name=$attr]
    for $prop in $usedprops/.
    return element { string($prop/@name) } {
      attribute format { $prop/format },
      attribute unit { $prop/unit },
      attribute description { $prop/description },
      for $subprop in $prop/subproperty
      let $sub := $subpro...@name=$subprop]
      return element { string(exactly-one($sub/@name)) } {
        attribute format { $sub/format },
        attribute unit { $sub/unit },
        attribute description { $sub/description }
      }
    }
  }
}
<>
$ mclient -p55555 -lx -t error.xq > error.xml
MAPI  = mone...@localhost:55555
QUERY = let $result := (let $items := doc("consumer04.xml")//properties/..
ERROR = !ERROR: GDKmallocmax: failed for 238795816 bytes
        !ERROR: GDKload: failed name=61/6151, ext=head
        !ERROR: CMDleftjoin: operation failed.
        !ERROR: BBPdecref: 1000000017_rid_level does not have pointer fixes.
        !ERROR: BBPdecref: 1000000017_rid_prop does not have pointer fixes.
        !ERROR: BBPdecref: 1000000017_prop_text does not have pointer fixes.
        !ERROR: BBPdecref: 1000000017_prop_val does not have pointer fixes.
        !ERROR: BBPdecref: 1000000017_attr_qn does not have pointer fixes.
        !ERROR: BBPdecref: 1000000017_attr_prop does not have pointer fixes.
$ cat error.xml
#GDKmalloc(180627422248) fail => BBPtrim(enter) 
usage[mem=148149976,vm=902317056]
#GDKmalloc(180627422248) fail => BBPtrim(ready) usage[mem=36756832,vm=583467008]
Timer   34246.875 msec
$


The used documents were sent earlier in March 2009 to Jan (Tuebingen, PF WIKI) 
and to Sjoerd (CWI, testset).

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

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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to