|
next
|
 Subject: question related to Java VM Author: Tony Lavinio Date: 13 Apr 2006 10:05 AM
|
First, which Saxon? 8.7 or 6.5.5? And which release of Stylus
Studio? I'm going to guess a recent one, so the actual answers
might not be quite on target...
> However, if I add the parameters "-Xms512m -Xmx512m" to the JVM
> settings and I restart Stylus I do get the error that the VM is not
> initialised correctly.
What do you mean by that? Do you get an error?
Try just putting -Xmx512m; otherwise, you're telling the JVM
to reserve 1/2 gig of RAM+swap, which may be more than it is
available.
> I have also following question: if I run Saxon as an external XSLT
> processor which VM is used: the normal one or the external one.
"External". But if you run it from within Stylus Studio, don't
forget to account for the memory that Stylus Studio itself is
using, along with whatever other applications are loaded.
> Furthermore:
> running a transformation using Saxon from within Stylus (NOT
> custom/external) took 17609000 milliseconds
> The same transformation run with Saxon outside Stylus from the
> command line takes 16046 milliseconds
> Is this huge difference due to profiling and backtracking?
All backmapping overhead - unless you've explicitly enabled
profiling. The profiling overhead is huge if you've asked it
to trace every event; it's a pretty significant hit otherwise.
The only good news is that the hit is taken all at the end of
the transformation, in the step that analyzes and reports, so
the actual overhead during the transformation is insignificant.
> Can I run a transformation without this overhead then?
Not inside of Stylus Studio, except as an external process.
|
|
|