This is great if you have logical page breaks. Only one of our reports has any logical page breaks however. So I can insert new page-sequences every 1000 rows or so. But unless I start counting rows and trying to guess at when a cell wraps, I have no way of preventing page breaks that leave awkward-looking partially filled pages.
Matt Savino > -----Original Message----- > From: John Bourke [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 02, 2002 4:24 AM > To: Fop Users (E-mail) > Subject: OutOfMemory - What worked for me. > > > Hi guys, > I had been having the memory issue over the last number of > days. My fix that > has worked and probably been posted before was to split up > the pages of my > file using a correct implementation of page sequences. > Previously I had been > pumping all data into one page sequence and breaking it using > page breaks > but FOP simply kept loading this into memory until eventually > it ran out. > > Now I just load a page sequence at a time and this allows the garbage > collector to run once all available memory has been allocated > and thus free > up memory used by earlier pages. As long as there is enough > memory for a > single page you shouldn't need much more as the collector can > free this once > the page has been rendered. > > John > > > ************************************************************** > ********* > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. Any unauthorised distribution or copying is strictly > prohibited. > > Whilst Cedar Plc takes steps to prevent the transmission of > viruses via e-mail, we can not guarantee that any email or > attachment is free from computer viruses and you are strongly > advised to undertake your own anti-virus precautions. > > Cedar Plc grants no warranties regarding performance, > use or quality of any e-mail or attachment and undertakes no > liability for loss or damage, howsoever caused. > ************************************************************** > ********** >