Bugs item #2518276, was opened at 2009-01-19 00:39
Message generated for change (Comment added) made by hrode
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=2518276&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: PFtijah
Group: Pathfinder "stable"
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Loredana Afanasiev (lafanasi)
Assigned to: Henning Rode (hrode)
Summary: memory leak

Initial Comment:
Dear developers,

When running the simple keyword query below ~100 times, the MServer's memory 
footprint grows to 100% and the server crashes with no error messages. My 
collection has ~1GB. 

let $opt := <TijahOptions ft-index="polietiekedata" ir-model="NLLR"/>
let $c := collection("HAN")
let $qid :=  tijah:query-id($c, "//spreker[about(.,%KEYWORD%)]", $opt)
for $res in tijah:nodes($qid)
return <pair>{( string($res/@naam), tijah:score($qid, $res))}</pair>

thank you!
l.

OS: Linux, 2.6.24.3-50.fc8
Mem: 19GB
Compiler: gcc 4.1.2
Parser tools: ?
autoconf (GNU Autoconf) 2.61
automake (GNU automake) 1.10
ltmain.sh (GNU libtool) 1.5.24

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

>Comment By: Henning Rode (hrode)
Date: 2009-01-19 16:55

Message:
i just checked it together with jan f..
result: we have indeed a memory leak here.

5K per simple pathfinder query.
1.8M per simple pf/tijah query.
26K per pf/tijah query with new query processor.

the 1.8M are of course quite bad, but since it only occurs in the old
version of the query processor, we won't fix that anymore.

the 26K in the new version are now on my todo list. i still have to find
out, whether it occurs in the C code of the query processor, or whether we
simply do not give enough hints to MonetDB to free MIL vars.

loredana, you can maybe use as an additional option to your queries:
<TijahOptions newversion="true"/>



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

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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Monetdb-bugs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-bugs

Reply via email to