Re: [jira] [Commented] (PDFBOX-2512) OutOfMemory while signing large documents
how can i unsubscribe from this email list? On Dec 13, 2014, at 6:07 PM, Andreas Lehmkühler (JIRA) wrote: [ https://issues.apache.org/jira/browse/PDFBOX-2512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14245321#comment-14245321 ] Andreas Lehmkühler commented on PDFBOX-2512: I've just realized that the code in the trunk is different. We should consider some similar solution when working PDFBOX-2515. OutOfMemory while signing large documents - Key: PDFBOX-2512 URL: https://issues.apache.org/jira/browse/PDFBOX-2512 Project: PDFBox Issue Type: Bug Components: Parsing, Signing Affects Versions: 1.8.7 Reporter: Thomas Chojecki Assignee: Thomas Chojecki Fix For: 1.8.8 Attachments: keystore.p12 While working with large documents, we found some memory issues. 1. The method close() in the COSDocument, clones the objectpool and does not clean it properly. The cloning in getObjects() cause a OutOfMemory exception. 2.The COSWriter copy the whole pdf into the memory for signing and does not use BufferedInputStream for the FileInputStream which also has a big performance impact. (PDFBOX-1798) 3. The cloning of COSStreams cause a OutOfMemory exception I used the CreateSignature example with a about 150 MB big document from here: https://cdn-reichelt.de/bilder/downloads/reichelt_01-2015_DE_B_HQ.pdf Additionaly I add a RandomAccessFile to the PDDocument.load in the CreateSignature class. PDDocument doc = PDDocument.load(document,new RandomAccessFile(new File(d:\\temp.bin), rw)); (this prevent the OOM for the third case) The use of a BuffedInputStream in case two, will increase the signing speed from more than 5 minutes to less than 1 minute. -- This message was sent by Atlassian JIRA (v6.3.4#6332) Sherif A. Bishr Chairman AKNAN Company for Data Management Services T +20 2 3347 5258 l F +20 2 3346 0537 M +20 122 215 4059 Website: www.aknan-company.com
Re: [jira] [Commented] (PDFBOX-2430) Make the non-sequential parser the default parser
how can i unsubscribe from this email list? On Dec 13, 2014, at 5:01 PM, ASF subversion and git services (JIRA) wrote: [ https://issues.apache.org/jira/browse/PDFBOX-2430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14245312#comment-14245312 ] ASF subversion and git services commented on PDFBOX-2430: - Commit 1645237 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1645237 ] PDFBOX-2430: remove nonSeq from usage; code cleanup Make the non-sequential parser the default parser - Key: PDFBOX-2430 URL: https://issues.apache.org/jira/browse/PDFBOX-2430 Project: PDFBox Issue Type: Improvement Components: Parsing Affects Versions: 2.0.0 Reporter: Andreas Lehmkühler Assignee: Andreas Lehmkühler Priority: Blocker Fix For: 2.0.0 As proposed by Maruan on dev@, we should make the non-sequentatial parser the default parser. The different load-methods should be simplified in that context, so that all load/loadNonSeq will be replaced by a load method. -- This message was sent by Atlassian JIRA (v6.3.4#6332) Sherif A. Bishr Chairman AKNAN Company for Data Management Services T +20 2 3347 5258 l F +20 2 3346 0537 M +20 122 215 4059 Website: www.aknan-company.com
Re: [jira] [Updated] (PDFBOX-2555) Knockout text missing
how can i unsubscribe from this email list? On Dec 13, 2014, at 5:13 PM, Tilman Hausherr (JIRA) wrote: [ https://issues.apache.org/jira/browse/PDFBOX-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tilman Hausherr updated PDFBOX-2555: Summary: Knockout text missing (was: Kockout text missing) Knockout text missing - Key: PDFBOX-2555 URL: https://issues.apache.org/jira/browse/PDFBOX-2555 Project: PDFBox Issue Type: Bug Components: Rendering Affects Versions: 2.0.0 Reporter: simon steiner http://acroeng.adobe.com/Test_Files/images//Knockout-text.pdf java -jar ~/pdf-box-svn/app/target/pdfbox-app-2.0.0-SNAPSHOT.jar PDFToImage Knockout-text.pdf -- This message was sent by Atlassian JIRA (v6.3.4#6332) Sherif A. Bishr Chairman AKNAN Company for Data Management Services T +20 2 3347 5258 l F +20 2 3346 0537 M +20 122 215 4059 Website: www.aknan-company.com