We are having memory/timeout issues on our production Websphere box using FOP as an alternative (in the future the only) process to creating PDFs from XML data. The application seemed to have passed load testing in stage but in production required that the application's memory be increased 0.5GB to 2GB.
The process works fine in batch for standard directories at night but we also have the ability for the user to customize directories and this is done real-time. The application generates PDFs from XML files that range from 100Kb to 2.7MB. The XSLs that create the directories average around 400Kb-500Kb. The setup of the FO files is as follows (on average): 24 page sequences (w/ even and odd sequence masters on sequences other than blank and cover pages): - 2 sequences are table of contents - 1 sequence is a back of the book index - 2-3 static content sequences - Other sequences are dynamic and include multi-column data I have done all the sugestions to improve performance on the Apache site as far as multiple sequences and so forth. As you can see I cannot avoid forward references because of the table of contents (English and Spanish). I also went through and reduced the amount of redundant code (font information and other attributes that the XSL designer added). The memory consumption for the larger PDFs with around 300 pages (2mb data + 500kB xsl = ~9MB fo file) is about 400MB. The amount of memory used was puzzling somewhat even after reading all about the XSLFO tree until I added coded to see the intermediate format file. Is there anything else that can be done to optimize this process?? -- View this message in context: http://www.nabble.com/FOP-memory-issues-in-servlet-on-Websphere-tp16558704p16558704.html Sent from the FOP - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
