Christian,

The point is that I don't know how to provide a self-contained query. 

The only strategy I could propose, to provide a self-contained query isolating the memory management problem, is really too time-consuming : I can imagine a binary-chop search, comparing the memory management of the two BaseX beta versions, over a very complex algorithm, to isolate the problem. This is probably a week work, I can't spend such a time.

Do you have a better strategy to find the problem ?




2014-01-30 Christian Grün <christian.gruen@gmail.com>
> A first clue: I set INLINELIMIT = 0 TAILCALL = -1, and the process ended,
> even if it is taking now some 3/4 minutes and nearly 5,5 Go memory
> footprint.

Thanks. Could you provide us with a self-contained query?
Christian