On Friday 27 December 2002 22:57, "Lee, Insoo" wrote: > [run] org.apache.xalan.xslt.Process -IN rates.xml -XSL rates_pdf.xsl -OUT > rates.fo > > this step took about 1 minute...
You seem to use a seriously underpowered machine, or you've complicated the transformation too much. I routinely transform 1MB files on moderatly modern hardware in less than 10s. > Here is the lengthy my FO file... (only 1/3 of it.. since it's over 1MB) You should not send XML as mail content, it's mangled: > extent="0.5cm"/></fo:simple-page-master></fo:layout-master-set><fo:page-seq >u ence master-reference="anypage"><fo:flow Also, it seems to be even more truncated. Compress the file and send it as attachment. I duplicating the rows to get roughly 1100 table rows, or 1.2MB, amounting to 23 pages. With FOP 0.20.5rc my 8 year old pentium 166MHz/64MB physical RAM took roughly 8.5 minutes to render it, the first 16 pages were rendered in less that 3 minutes, after which the physical RAM was full and swapping set in. No JVM memory overflow occured. Modern hardware with sufficient physical RAM and appropriate JVM settings should be faster at least by a factor of 10. The average page rendering time reported for FO documents similar in structure to yours is usually 0.5s to 1s. Again, you seem to use hardware which simply isn't up to the task. 1. Get FOP 0.20.5rc, which should be a bit faster than 0.20.4 2. Check the load on your machine. Kill unnecessary processes. 3. Get a guru to check your machine's configuration, in particular memory available to user tasks, process priorities and perhaps VM configuration and IO bandwidth. 4. Check whether your machine has enough physical RAM (256M is ok) 5. Check your JVM memory settings, the memory allocated to the JVM should not exceed the physical RAM, or your process will swap itself to death 6. Check the configuration of whatever environment your FOP embedding runs. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
