Forum OpenACS Development: Re: Bug in xowiki page includelets resolution when veiwing live revision

Note, you were right, there isn't any bug, it was just the depth of the call stack when processing a very long wiki page to generate a diff.

One issue that could come up, if I get a document twice the size of the one I had a problem with, it might again run out of stack. There might be someplace in the code that code be changed to not nest the calls so much, but I haven't evaluated that.

512KB are clearly to small. We use 2mb on all our systems (including production, were we have about 100 connection threads configured). However, i don't see, were the document size has an influence on the stack size diff. As long there is no recursion, the document size should not require a larger stack. Are you using already the version with ::util::diff? If you see a recursion, where does it happen?