Hi Mark,
In the latest 2.0.0 snapshot you should be able to create a new
PDDocument using scratch files.
new PDDocument(true);
Then append to it as per normal. Streams for the new document will be
stored in scratch files on the file system, not in memory.
Cheers,
Jesse
On 05/06/2015 17:14, Morris, Mark wrote:
Since I’ve gotten no response, is it safe to assume this is something that’s
architecturally impossible?
Thanks,
Mark
On Jun 3, 2015, at 11:12 AM, Morris, Mark <[email protected]> wrote:
Hello! I’m generating multiple pdf documents using a commercial tool, then
merging them into one document to deliver to the user. This all works, but I’m
trying to reduce the memory footprint, and the current approach builds
everything in memory.
So I wondered if this is possible: Create a document that streams to a file,
then keep concatenating more pdf documents to the end, without needing to have
the whole thing in memory at any time. I’ve looked through the API and didn’t
see a way, but it’s new to me so I’m sure I could have missed something.
Thanks for any assistance!
Regards,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]