On Fri Jan 07 08:55:38 PST 2022 ke...@trumpetinc.com said: >If you use the temporary file memory storage, it should be possible to work >with very large files.
Thanks, I was hoping there was some way to deal with this case. I just ran a quick test, generating a 2000 page PDF by placing a 1 page PDF on each output page. Using LayerUtility & PDFFormXObject as the real usage will involve placing multiple small PDFs on a large page, for many large pages. The 1 page PDF was 291K, the resulting 2000 page pdf was 168MB. (I was doing gc() just before reporting the usage.) Doing it all in memory: 7m 38s, and peaked at 424MB in use. with the setTempFileOnly on the output document: 7m 1s, 292MB. -- Try my Sensible Email package! https://sourceforge.net/projects/sensibleemail/
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@pdfbox.apache.org For additional commands, e-mail: users-h...@pdfbox.apache.org