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. ************************************************************************
