Thanks everyone for your responses. The size does not appear large to me either, 25+ pages, but nevertheless it does run out of memory. I have only three images (small) and several tables with embedded tables, plus the page-number-citation for "page x of y".
FYI in case it helps someone else, the -XX:+AggressiveHeap seems to do what the combination of -Xmx and -Xms do, however automatically. The only documentation I could find at Sun suggested it was only for multiple processor machines with lots of RAM, however it seems to work for me with only one processor. The advantage is that it allocates the Heap dynamically according to the available RAM. In my case, the client PC's have from 320MB to 1+GB of RAM and they are all running locally from a batch file on the server. Although I could set the -Xmx and -Xms to the lowest common denominator, the -XX seems to take care of this on whatever machine it is running on. Jeremias - I am running from trunk code from about a month ago. Have you done some memory adjustments since then? I remember I used to have extra large resulting PDF files when I had an image that did not have a color table (or something ?), but the trunk code brought a 225KB file back down to 25KB. Rick -----Original Message----- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 2:00 AM To: [email protected] Subject: Re: out of memory error 20 to 25 pages does not really count as "extra large". Does your document contain a few images? If yes and assuming you use FOP 0.92beta or later, you might want to try the latest code from FOP Trunk (from Subversion) where I've fixed two memory leaks which dramatically improves memory usage of FOP when using bitmap images. I've never used the AggressiveHeap option before. I can't even tell from the descriptions I found what it really does. If it helps, cool, but sometimes these measures just cover an underlying problem that should be fixed at some point. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
