[ https://issues.apache.org/jira/browse/PDFBOX-4392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16712554#comment-16712554 ]
Oleksandr Skoryi edited comment on PDFBOX-4392 at 12/7/18 10:05 AM: -------------------------------------------------------------------- hmm, probably it is the root of the issue, because currently we are using 1.8.0_25 on production. Also very interesting thing, I tested with *2.0.12* again and !!! For attached pdf the recommendation to use -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider make everything slower, not faster. I am using 1.8.0_181 on my local machine With KCMS version=2.12 start=10:12:08.355 finish=10:14:30.744 2min 22sec Without KCMS version= 2.12 start=10:15:24.865 finish=10:16:47.225 1min 23sec *Updates:* With KCMS version=2.14 11:00:50.749 11:03:12.965 3min 2sec Without KCMS version=2.14 10:57:37.996 10:59:04.845 1 min 33 sec Significant difference I have macbook pro 15, 2015 basic model with 256GB SSD I am going to test now with snapshot was (Author: alexfaster): hmm, probably it is the root of the issue, because currently we are using 1.8.0_25 on production. Also very interesting thing, I tested with *2.0.12* again and !!! For attached pdf the recommendation to use -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider make everything slower, not faster. I am using 1.8.0_181 on my local machine With KCMS version=2.12 start=10:12:08.355 finish=10:14:30.744 2min 22sec Without KCMS version= 2.12 start=10:15:24.865 finish=10:16:47.225 1min 23sec Significant difference I have macbook pro 15, 2015 basic model with 256GB SSD I am going to test now with snapshot > PDF completely blow up the RAM on amazon instances > -------------------------------------------------- > > Key: PDFBOX-4392 > URL: https://issues.apache.org/jira/browse/PDFBOX-4392 > Project: PDFBox > Issue Type: Bug > Affects Versions: 2.0.12 > Reporter: Oleksandr Skoryi > Priority: Major > Fix For: 2.0.13 > > Attachments: 2f0f8f77-7a85-416d-b5d2-47a07d1416d4_3.pdf, > 4392-prereadICC.patch > > > Hi all > The issue is pretty straightforward. I receive a lot of pdfs every day and > render them. In most of the cases everything is OK, but PDFs which produces > WARN org.apache.pdfbox.pdmodel.graphics.color.PDICCBased - ICC profile is > Perceptual, ignoring, treating as Display class > working super long, and are super memory consumable. > It takes from 5 to 15 min on m5.large amazon instance. But attached PDF > completely killed the instance. The java process is just killed by linux > during processing with no exception in logs. > So could you please provide explanations what is going on with files with > WARN message above, and how can I improve the rendering. > > Here is my VM options > -Dorg.apache.pdfbox.rendering.UsePureJavaCMYKConversion=true -Xmx3G -Xms2G > -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider" > Also don't hesitate to ask me about more PDF, I have tones of them :D > > And also a question, does GPU have influence on rendering? -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org