[
https://issues.apache.org/jira/browse/PDFBOX-4836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17204499#comment-17204499
]
Tilman Hausherr edited comment on PDFBOX-4836 at 9/30/20, 7:10 AM:
-------------------------------------------------------------------
This results in an "already closed" error :(
java.io.IOException: RandomAccessReadView already closed
at
org.apache.pdfbox.io.RandomAccessReadView.checkClosed(RandomAccessReadView.java:182)
at org.apache.pdfbox.io.RandomAccessReadView.seek(RandomAccessReadView.java:68)
at org.apache.pdfbox.cos.COSStream.createRawInputStream(COSStream.java:195)
at org.apache.pdfbox.pdfwriter.COSWriter.visitFromStream(COSWriter.java:1251)
was (Author: tilman):
This results in an "already closed" error :(
> Reduce the usage of ScatchFileBuffer when parsing a pdf
> -------------------------------------------------------
>
> Key: PDFBOX-4836
> URL: https://issues.apache.org/jira/browse/PDFBOX-4836
> Project: PDFBox
> Issue Type: Improvement
> Components: Parsing
> Affects Versions: 3.0.0 PDFBox
> Reporter: Andreas Lehmkühler
> Assignee: Andreas Lehmkühler
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
> Attachments: EDGE11896203.pdf, image-2020-05-17-16-40-28-712.png,
> raw_image_demo.pdf
>
>
> Instead of using a scatchfile buffer to read a COSStream the parser should
> use the source directly to reduce the memory footprint
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]