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

Tilman Hausherr commented on PDFBOX-4836:
-----------------------------------------

Many files have errors (out of memory) when rendering or don't finish at all:

 

asy-functionshading.pdf
bug864847.pdf
bugzilla1068432.pdf
EDGE11896203.pdf
evince-bug431088.pdf
gs-bugzilla-693664-AnnotationTest.pdf
gs-bugzilla458780.pdf
gs-bugzilla578865.pdf
gs-bugzilla626295.pdf
gs-bugzilla686747.ai
gs-bugzilla689173.pdf
gs-bugzilla689438-knockout.pdf
gs-bugzilla689439-alphamask.pdf
gs-bugzilla689690.pdf
gs-bugzilla689996.pdf
gs-bugzilla690467.pdf
gs-bugzilla690487.pdf
gs-bugzilla690546.pdf
gs-bugzilla690839.pdf
gs-bugzilla691157.pdf
gs-bugzilla691650-2.pdf
gs-bugzilla691763.pdf
gs-bugzilla691854.pdf
gs-bugzilla692152.pdf
gs-bugzilla692721.pdf
gs-bugzilla693115.pdf
gs-bugzilla693220.pdf
gs-bugzilla693322.pdf
gs-bugzilla693548-STACKOVERFLOW.pdf
gs-bugzilla695975-reduced.pdf
gs-bugzilla697350.pdf
gs-bugzilla697354.pdf
gs-bugzilla697433-2.pdf
PDFBOX-1147.pdf
PDFBOX-1350-outofmemory.pdf
PDFBOX-142-acroform.pdf
PDFBOX-15-comments.pdf
PDFBOX-1739-RegisSTAR.pdf
PDFBOX-1794-vattenfall.pdf
PDFBOX-1861-bbox.pdf
PDFBOX-1870-DeviceN3.pdf
PDFBOX-1917.pdf
PDFBOX-2016.pdf
PDFBOX-2187-002145.pdf
PDFBOX-2229-031013.pdf
PDFBOX-2554-cmykrasterobjecttypes.pdf
PDFBOX-2555-Knockout-text.pdf
PDFBOX-2560.pdf
PDFBOX-2653.pdf
PDFBOX-2660.pdf
PDFBOX-2829.pdf
PDFBOX-3360-444988-p12.pdf
PDFBOX-4666-recursion-p1.pdf
PDFJS-215-missing-glyf.pdf
PDFJS-2825-veryslow.pdf
PDFJS-8076.pdf
PDFJS-9679.PDF
pop-bugzilla19670-1.pdf
pop-bugzilla31687.pdf
pop-bugzilla48453.pdf
pop-bugzilla62905.pdf
pop-bugzilla70684.pdf
pop-bugzilla93476.pdf
POPPLER-737.pdf
swftools-transpstack.pdf
texample-rgb-triangle.pdf

 

Others have different results, e.g. CIB-coonsmesh.pdf and 
CIB-coons-vs-tensormesh.pdf .

 

> 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: 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: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to