At the risk of providing a redundant answer, I would also like to point out a paper I wrote on a specific method for creating multiple page sequences in the DITA Open Toolkit. It provides code examples and explanations for some of the "gotchas" in using multiple page sequences. There may be information in this approach that you or others in this community would find helpful.
http://www.scriptorium.com/whitepapers/xslfo/index.html Regards, David Kelly Steffanina, Jeff wrote: > > > 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] > > > -- View this message in context: http://www.nabble.com/Out-of-Memory-Error-from-Java-tp21591957p21624377.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]
