Am 02.09.2016 um 13:30 schrieb Gabriel:
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.
Maybe compare with loadNonSeq in the 1.8 version. The 2.0 parser is
different than the old parser, and maybe slower because it has to go
back and forth.
You said your file is confidential. What you could do, if you have some
time to kill, go here:
http://digitalcorpora.org/corp/files/govdocs1/zipfiles/
try to find some PDF file that has this effect.
Tilman
-----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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]