Loading ...
Sorry, an error occurred while loading the content.

6918Re: [XSL-FO] FOP: Will not process large file

Expand Messages
  • Eliot Kimber
    Nov 2, 2005
      Jasmine wrote:
      > I have a really large file I want to process with FOP. The XSL-FO file
      > is 21MB. It is as small as we can make it. We have considered breaking
      > it up into smaller files, but for our client, this would kind of
      > defeat the purpose of generating the PDF in the first place. They can
      > look at smaller chunks on the web site, but the PDF report is supposed
      > to be a complete listing. We only have one client out of 8500 which
      > has this problem, but they are the biggest and most valuable client,
      > and we would like to make this work for them. Am I running up against
      > some kind of limit for FOP? I don't think I'm exceeding the limit for
      > PDF, cuz I know I've seen PDF files much larger than this. This PDF,
      > if processed correctly, would result in 547 pages. I can not send
      > sample code because it contains confidential healthcare information.

      You could always process it in chunks to produce separate PDFs and then
      concatenate them together using either Acrobat or any number of PDF
      processing libraries that are out there. It shouldn't be hard to do at all.

      The other thing to check is that you are setting the memory size for the
      JVM to the highest setting your machine can accomodate--you might just
      be hitting a Java memory limit.


    • Show all 13 messages in this topic