[ 
https://issues.apache.org/jira/browse/PDFBOX-4836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17109438#comment-17109438
 ] 

Andreas Lehmkühler commented on PDFBOX-4836:
--------------------------------------------

Inspired by [~torakiki] I've implemented the new class 
{{org.apache.pdfbox.io.RandomAccessReadView }} representing a view of a part of 
a random access read. It is used to read the content of a COSStream instead of 
writing the content to a ScratchFileBuffer to be read again. For now it is 
limited to well formed streams, I'm still working on malformed ones as the 
usage of EndstreamOutputStream makes it a little bit more complicated.

> 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
>
>
> 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]

Reply via email to