I read the article that you referenced below. It suggests using multiple page sequences. Currently, I have only one.
I will make that change and test it. THANKS for the info! Jeff -----Original Message----- From: Chris Bowditch [mailto:[email protected]] Sent: Thursday, January 22, 2009 4:11 AM To: [email protected] Subject: Re: Out of Memory Error from Java Steffanina, Jeff wrote: > I have: > FOP 0.95 > Linux > Java 1.5 > My Java starts with memory set as: -Xmx192m > > I can print an unlimited number of individual invoices in a single Java > process (i.e. the user chooses the option to print). For example, print > 2,000 invoices where each invoice contains 100 lines of details. > Therefore, print a total of 200,000 lines of detail. > > However, I receive an "Out of Memory" error from Java when I attempt to > print a single invoice that contains more than 4,500 lines of detail. Have you read: http://xmlgraphics.apache.org/fop/0.94/running.html#memory Specifically the part about breaking up the FO into multiple page sequences. > > Other than continuing to increase the amount of memory at startup, is > there something I can do to prevent the error when printing a single, > large invoice? Regards, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
