some stackrelated questions

Monday, 18 March 2013 · 2 messages
RS
Rob Stapper18 Mar 2013 16:58 #
Hi, My recursive query gives a stackoverflow: [XQDY0054] Stack Overflow: circular variable declaration? I use the standard, standalone BaseX-software. I'm almost certain it isn't a circular variable declaration because this recursive query can go pretty deep, probably more than a hundred levels and maybe even more. It works on smaller files but it gives this message on the biggest files with the deepest nestinglevel. How deep is the nestinglevel of recursive-queries in BaseX? How can the the max. nestinglevel be increased? Thnx in advance for your reply. Sincerely Rob Stapper
CG
Christian Grün18 Mar 2013 23:51 #
Hi Rob, the Java stack size can be increased via the -Xss flag of Java [1]. It may be worth to have a look at the latest stable snapshot [2], which contains various XQuery compiler enhancements under the hood. How does your query look like? Christian [1] http://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionX.html#wp999540 [2] http://files.basex.org/releases/latest/
Quoted text · Rob Stapper · 41 lines
On Mon, Mar 18, 2013 at 4:58 PM, Rob Stapper <r.stapper at lijbrandt.nl> wrote: > Hi, > > > > My recursive query gives a stackoverflow: [XQDY0054] Stack Overflow: > circular variable declaration? > > I use the standard, standalone BaseX-software. > > > > I’m almost certain it isn’t a circular variable declaration because this > recursive query can go pretty deep, probably more than a hundred levels and > maybe even more. > > It works on smaller files but it gives this message on the biggest files > with the deepest nestinglevel. > > > > How deep is the nestinglevel of recursive-queries in BaseX? > > How can the the max. nestinglevel be increased? > > > > Thnx in advance for your reply. > > > > Sincerely Rob Stapper > > > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >

⚡Generated with XQuery