[
https://issues.apache.org/jira/browse/PDFBOX-5685?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766091#comment-17766091
]
ASF subversion and git services commented on PDFBOX-5685:
---------------------------------------------------------
Commit 1912364 from [email protected] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1912364 ]
PDFBOX-5685: adapt the thread safe buffer cache from
RandomAccessReadBufferedFile to reduce the memory footprint
> 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
> Priority: Major
> 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]