Andreas Lehmkühler created PDFBOX-5685:
------------------------------------------
Summary: Reduce number of copies to lower memory footprint
Key: PDFBOX-5685
URL: https://issues.apache.org/jira/browse/PDFBOX-5685
Project: PDFBox
Issue Type: Improvement
Components: IO
Affects Versions: 3.0.0 PDFBox
Reporter: Andreas Lehmkühler
Assignee: Andreas Lehmkühler
Fix For: 3.0.1 PDFBox, 4.0.0
The user bnncdv reported some regressions in 3.0.0 on the [users mailing
list|https://lists.apache.org/thread/qs0gxwnbb57j0bpndr4zxr9y4pr16593].
If an input stream is used as source for a pdf every time the parser creates a
view a copy of the RandomAccessReadBuffer holding the input stream is created.
The duplicated byte buffers are reused but if it comes to larger pdfs the
number of duplicated objects matter.
I was able to reproduce that behaviour.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]