What does warning related to split-limit indicate while doing transformation using XSLT?

1.4k Views Asked by At

I am facing a performance issue while doing transformation using XSLT.

It takes around 13 to 14 seconds to transform the data provided.

In the mean time I noticed a warning in the console logs as

[ERR 0635] Some generated functions exceeded the JVM method size limit and were automatically split into smaller functions. You may get better performance by manually splitting very large templates into smaller templates, by using the 'splitlimit' option to the Process or Compile command, or by setting the 'http://www.ibm.com/xmlns/prod/xltxe-j/split-limit' transformer factory attribute.

So looking at that error I even tried setting the attribute the way shown below.

TransformerFactory tf = TransformerFactory.newInstance();
tf.setAttribute( "http://www.ibm.com/xmlns/prod/xltxe-j/split-limit", Integer.valueOf(1500));

The number 1500 I took from here.

But I am not really sure whether this would really help when there is a Load test performed.

Can someone guide me on how do I achieve the performance improvement in transformation?

JVM underlying is in Websphere App Server.

0

There are 0 best solutions below