pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel" <gabr...@bry.com.br>
Subject RES: Trouble loading large files with PDFBox 2.0.2
Date Fri, 02 Sep 2016 11:30:12 GMT
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:john@jahewson.com] 
Enviada em: quinta-feira, 1 de setembro de 2016 16:50
Para: users@pdfbox.apache.org
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: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message