Try again with the 2.0 version, the scratch file mechanism has been improved (see the docs of the PDDocument.load() methods).

Tilman

Am 04.11.2015 um 13:37 schrieb Chris Bamford:

Hi there,

Last time I tried this, I would get OOMs with PDFs containing lots of embedded files (or a few large images) because I believe it builds a sort of object model in memory holding all the data at once. I'm hoping there might be an alternative approach available whereby files can be streamed out so the memory impact is low.

Is there a way to do this?

Thanks

- Chris


Chris Bamford m: +44 7860 405292 www.mimecast.com <http://www.mimecast.com/> Lead Software Engineer p: +44 207 847 8700 Address click here <http://www.mimecast.com/About-us/Contact-us/>
------------------------------------------------------------------------
http://www.mimecast.com/ <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=dbaac6139b74ac54fecf0aa298ba2e14>

        
        
LinkedIn <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=ea64783ac26551316398a5eef4da7f08>

        
YouTube <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=fd44eb88173e025bedba95fcfa329a2c>

        
Facebook <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=9c9f07a86ad6805889bb5d0a5fde52d4>

        
Blog <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=ad38dbaa0793914dff052857e1828766>

        
Twitter <https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=5a94c8d62b2e7531a76be62680ea5823>



<https://serviceA.mimecast.com/mimecast/click?account=C1A1&code=93ef2209b5bb30f500aa671a0428753a>


*Disclaimer*
The information contained in this communication from *[email protected] * sent at 2015-11-04 12:38:00 is confidential and may be legally privileged. It is intended solely for use by *[email protected] * and others authorized to receive it. If you are not *[email protected] * you are hereby notified that any disclosure, copying, distribution or taking action in reliance of the contents of this information is strictly prohibited and may be unlawful.

This email message has been scanned for viruses by Mimecast. Mimecast delivers a complete managed email solution from a single web based platform. For more information please visit http://www.mimecast.com





Reply via email to