Did you give the JVM for the entreprise environment enough memory to work with? Such a slowdown is likely produced by the garbage collector of Java or by the operating system constantly swapping memory in and out.
On 24.03.2006 22:47:27 Ganji, Jithendra wrote: > Hi Chris, > > We are working SunOS5.8 operating system and JVM 1.4.X. We are not > having any SVG in document. > > Thanks for your suggestion on to use latest version of FOP. But we are > already in production, so we can not upgrade imm. Wev have to work on > current Fop version i.e 0.20.5 > > One strange observation when I generated PDF( of 27 pages) as standalone > application on the same SunOS5.8 env by using below mentioned command it > is taking just 1500 ms. Where as generating thru enterprise application > in windows it took 500 ms(approx),* where as in UNIX(SunOS5.8)*** > 43587ms**** (approx)****.***** > > java -cp > fop.jar:xml-apis.jar:avalon-framework-cvs-20020806.jar:xercesImpl.jar:xa > lan.jar:batik.jar org.apache.fop.apps.Fop -c foconf/fopconfig.xml -fo > test.fo -pdf test.pdf > > Any pointers from this will be appreciated. > > Thanks, > Ganji > > -----Original Message----- > From: Chris Bowditch [mailto:[EMAIL PROTECTED] > Sent: Friday, March 24, 2006 4:42 AM > To: [email protected] > Subject: Re: Performance issue in generating PDFs for Custom Fonts in > UNIX env. > > Ganji, Jithendra wrote: > > > Hi, > > > > We are using FOP 0.20.5 for PDF conversion. We registered "Courier > New" > > custom font by following the steps given at > > _http://xmlgraphics.apache.org/fop/0.20.5/fonts.html#custom_ > > > > We generated appropriate font metrics file(cour.xml) for cour.ttf > file > > using TTFReader on different operating systems(Windows and UNIX) based > > > on their usage. > > > > The performance of generating PDF in Windows env is excellent, but in > > UNIX environment it is very bad. For 27 pages document in windows it > is > > taking*** 500 ms(approx),* where as in UNIX( Solaris)*** 43587ms**** > > (approx)****.***** > > > > *This is a major hit for us in using FOP. We need a solution ASAP.* > > This is strange indeed, what JVM do you use on Linux? Does the Linux > environment have an X windows server? Does your document have any SVG? > > FOP 0.20.5 is no longer actively maintained so you're not likely to get > much of a response I think. My recommendation would be to try FOP > 0.91beta and see if the problem persists. Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
