On 28/07/2010 19:31, Ryan Puddephatt wrote:

Hi,

                Does anyone know if there is a way of increasing the limit on this?

 

I’m working with a stylesheet which I know to be working, but it seems to be reaching this limit. The excessive looping is produced by the large amount of nested elements on the input data rather than the XSLT itself and I haven’t had any luck refactoring the stylesheet to get around this problem

 


The limit is determined by the amount of stack space available in the Java VM. If you can find a way of increasing that, it should give you breathing space. In principle you can do this using the -Xss option. But it seems to be a bit of a black art; I think that operating systems may impose a limit that the Java VM can't exceed.

Michael Kay
Saxonica