On Sep 12, 2007, at 18:35, Yatin Soni wrote:
Hello
----- Original Message -----
From: "J.Pietschmann" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: 04, 09, 2007 12:49 AM
Subject: Re: Performance issue with FOP
Yatin Soni wrote:
Now at the time of
transforming the XML document into PDF CPU usage rises to 99% and
not
getting down. Every time I am generating PDF I am facing same
problem
and this causes low performance at Server side. Please help me out
resolving this issue. How I can reduce the CPU usage?
[snip]
First: which FOP release are you using? What Java version are you
using? Whats the general environment?
You should try to isolate the problem. Get the source XML written
into a file and use the FOP command line to produce a PDF. Is the
CPU load still high? Then run the XSLT separately, and run the
resulting FO through the FOP command line again. This should give
you an idea whether the problem is in the XSLT or with FOP. In the
latter case, run it again giving the JVM more memory. If there's
still a problem with FOP, post it again.
Thanks for reply.
I am using FOP 0.93 build and java version i am using is JDK1.6 and
using
Windows 2000 as operating system...
In your original post, you indicate that you are using a DOMSource,
so my questions would be:
* Have you tried SAX instead?
* Did you try out different XML parsers (= different DOM
implementations) than the one bundled with your JVM? (Note that the
versions of Xerces and Xalan that are distributed with FOP are used
only if your JVM does not bootstrap other versions or different
vendors...)
HTH!
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]