Hi Cristian,
I have actually written a Library module. I have probably understood the problem, in that a few user-defined functions which I called in a nested way contained, each of them, a for-loop. I tried to not add for-loops in the definition of functions but just have one main for-loop in the body of the query and now I can easily get my results in the GUI. However, another problem arose: when I try to launch the command "basex myquery.xq" from the command line, I start getting the output of the query correctly, but at a certain point it gets stuck and java runs out of memory, even though the same query performs in less than a minute in the GUI. Any idea?
Thanks!
Joseph
Hi Joseph,
Could you please post your script?
Thanks in advance,
Christian