You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/12/03 16:12:00 UTC
[jira] [Commented] (PDFBOX-5550) redcuce number of open files
[ https://issues.apache.org/jira/browse/PDFBOX-5550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17642861#comment-17642861 ]
ASF subversion and git services commented on PDFBOX-5550:
---------------------------------------------------------
Commit 1905718 from lehmi@apache.org in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1905718 ]
PDFBOX-5550: share RandomAccessReadBufferedFile when creating a new view within the same thread for the file
> redcuce number of open files
> ----------------------------
>
> Key: PDFBOX-5550
> URL: https://issues.apache.org/jira/browse/PDFBOX-5550
> 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.0 PDFBox
>
>
> {\{org.apache.pdfbox.io.RandomAccessReadBufferedFile}} opens a new file using the underlying file every time when creating a new view. The view of a COSStream isn't most likely closed until the entire pdf is closed. In the end there are as many open files as created COSStreams until the pdf is closed.
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org