Or perhaps using the ::sibling XPath operator to select your dataset and then processing the dataset with a FLOWR statement?
Keith L. Breinholt [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Geert Josten Sent: Sunday, April 25, 2010 1:48 AM To: General Mark Logic Developer Discussion Subject: RE: [MarkLogic Dev General] Recursion Limit and Stack Overflows? Hi Tim, Not sure, never seen such setting myself. But even if you could, you would always have the risk of hitting the limit again some time. Have you thought of strategies that do not require a linked-list? Can't a map:map be of any help here? Kind regards, Geert > drs. G.P.H. (Geert) Josten Consultant Daidalos BV Hoekeindsehof 1-4 2665 JZ Bleiswijk T +31 (0)10 850 1200 F +31 (0)10 850 1199 mailto:[email protected] http://www.daidalos.nl/ KvK 27164984 P Please consider the environment before printing this mail. De informatie - verzonden in of met dit e-mailbericht - is afkomstig van Daidalos BV en is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend. > From: [email protected] > [mailto:[email protected]] On Behalf Of > Tim Meagher > Sent: zondag 25 april 2010 5:28 > To: 'General Mark Logic Developer Discussion' > Subject: [MarkLogic Dev General] Recursion Limit and Stack Overflows? > > Hi Folks, > > > > I am using recursion to process sibling nodes like > lined-lists. This works pretty well until I run into > documents that contains an untypically large node sets. I > believe that this may be contributing to a stack overflow > error that I am seeing: > > > > 2010-04-24 23:10:37.042 Notice: TaskServer: > XDMP-STACKOVERFLOW: Stack overflow > > > > Are there any configuration parameters that I can adjust to > fix this problem. The documents that I am processing are > constructed and present in memory, i.e., I am not pulling > them out of the database. > > > > Are there any debug flags or other ways to help pinpoint the > cause of the problem? > > > > Thank you! > > > > Tim Meagher > > > > _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _______________________________________________ General mailing list [email protected] http://xqzone.com/mailman/listinfo/general
