Re: OutOfMemoryError: Java heap space

2014-07-03 Thread chandone
Hello, This is an old thread but this problem is more newsworthy than ever. I'm running FOP 1.1 (trunk didn't help either), my XSL-FO is only 500 KB large, and /*only text!*/, I allocated 7(!)GB to my JVM on a 64 bits Windows 7 and despite all that, FOP, after reeling in a long time, throws a

Re: reduce size of PDF generated with FOP

2013-06-11 Thread chandone
I'm sorry that I don't follow this post up on a more regular basis but I've been pretty busy with other stuff here at work. Fonts are indeed embedded more than once in merged PDFs. I'm going to look into it, maybe try and merge them a different way. As for the individual PDFs, I managed to reduce

Re: reduce size of PDF generated with FOP

2013-06-04 Thread chandone
Is it indeed? Well, the fact is that I generate PDFs in two different ways: - individual PDFs, - the same PDFs, but concatenated together into one big PDF, using the Apache pdfbox PDFMergerUtility.mergeDocuments() method. Compared to the ones generated by FrameMaker, the individual PDFs grow

reduce size of PDF generated with FOP

2013-05-30 Thread chandone
Hello everyone, I use Java, XSL-FO and FOP to generate PDFs that consist in one or more pages of data and images, each page having a header and a footer containing images themselves. These header and footer are repeated on each and every page of the PDF documents. The images are responsible for a