Just tried with both, setupMainMemoryOnly (which is the same as just load(File)) and setupTempFileOnly, and it got a few seconds better with temp files.
load(File, MemoryUsageSetting.setupMainMemoryOnly()): 165641ms load(File, MemoryUsageSetting.setupTempFileOnly()): 192022ms (opposed to 210154ms) But that still is 6 times slower than 1.8.12. -----Mensagem original----- De: John Hewson [mailto:[email protected]] Enviada em: quinta-feira, 1 de setembro de 2016 16:50 Para: [email protected] Assunto: Re: Trouble loading large files with PDFBox 2.0.2 (...) > Is there something we're doing wrong, or we're not doing that could > help improve the performance? I’d expect the fastest to be: PDDocument load(File file) — John > > Thank you very much for you time. > > > > Atenciosamente, > > Gabriel Pessoa > Analista > > BRy Tecnologia > Rua Lauro Linhares, 2123 Torre B - 3 andar > 88036-002 - Florianópolis - SC - Brasil > +55 (48) 3234 6696 > > > --------------------------------------------------------------------- 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]

