[ 
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 [email protected] 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to