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

lienhardt commented on PDFBOX-4525:
-----------------------------------

* Bad test: (2.0.9 with patch) grow to 1.5Gb and stabilize to 700Mb

{code:java}
java version "1.7.0_201"
OpenJDK Runtime Environment (rhel-2.6.16.0.el6_10-x86_64 u201-b00)
OpenJDK 64-Bit Server VM (build 24.201-b00, mixed mode){code}
 * I test with 1.8.0_60 : grow to 1.7Gb and stabilize to 480Mb

{code:java}
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode){code}
 
 * Test 2.0.16 with patch and 1.8.0_60: 214Mo and finish to 4.1Gb

So I can have Fast and memory lost (2.0.16) or slow and memory acceptable 
(2.0.9).

> PDF completely blow up the RAM on RedHat
> ----------------------------------------
>
>                 Key: PDFBOX-4525
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4525
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.9, 2.0.15
>            Reporter: lienhardt
>            Assignee: Tilman Hausherr
>            Priority: Major
>              Labels: optimization
>             Fix For: 2.0.16, 3.0.0 PDFBox
>
>         Attachments: crash_redhat.pdf, testPdfBox.jar
>
>
> We received a PDF that has completly killed the Tomcat on a production 
> application.
> The symptoms are the same as PDFBOX-4392, but the PDF file is different.
> Messages: 6000 times
> {code:java}
> avr. 24, 2019 3:02:33 PM org.apache.pdfbox.pdmodel.graphics.color.PDICCBased 
> ensureDisplayProfile
> AVERTISSEMENT: ICC profile is Perceptual, ignoring, treating as Display class
> {code}
> We test it on RedHat5 VM in develop and reproduce it with a sample test 
> program that read the PDF, and create a small image. The program is looping 
> and after the 4th reading it took 20Gb of memory and was killed by the OS to 
> prevent the crash of the computer.
> I've tried with version 2.0.15 and the problem still be the same.
> We can test it with java -jar testPdfBox.jar crash_redhat.pdf



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to