I'm wondering whether this is a flaw in the current implementation, that each stream will always use a multiple of 4K instead of the actual size (at least when the size is known in advance).

But the thing you mention, 1 stream for 1 page, will obviously have to stay.

Tilman

Am 10.06.2021 um 16:28 schrieb Mark A. Claassen:
Hi.  What are your PDF memory settings?  I was looking at the code and doing 
some profiling last night and it looks like the temporary file optimization 
keeps 4K of data per page in memory.  For 200 pages, this would take 800K+ of 
memory just for this.

I have been using PDF box for a while now, but have a pretty simple use case 
and so haven't used many of the features.  However, we had a user create a 
document with 10,000s of pages recently, and the 4K / page started to really 
show itself.

Mark Claassen
Senior Software Engineer

Donnell Systems, Inc.
130 South Main Street
Leighton Plaza Suite 375
South Bend, IN  46601
E-mail: mailto:[email protected]
Voice: (574)232-3784
Fax: (574)232-4014

Disclaimer:
The opinions provided herein do not necessarily state or reflect
those of Donnell Systems, Inc.(DSI). DSI makes no warranty for and
assumes no legal liability or responsibility for the posting.
-----Original Message-----
From: Denis Maltzahn <[email protected]>
Sent: Thursday, June 10, 2021 5:51 AM
To: [email protected]
Subject: [Possible Spam] Replace itext with pdfbox performance
Importance: Low

Hello,

I am evaluating to replace our pdf processing from itext to pdfbox.
I have some performance issues with pdfbox in comparison to itext.

Here is the link to stackoverflow where I described my problem:

https://stackoverflow.com/questions/67917431/replace-itext-to-pdfbox-performance

If you have some questions, feel free to ask.

Can you help me with this problem?


Mit freundlichen Grüßen / Kind regards,

Denis Maltzahn
Software Engineer

SI Software Innovation GmbH - ein Unternehmen der Beta Systems Gruppe

Development
Europastraße 3,  67433 Neustadt an der Weinstraße
Phone: +49 6321 49915 146
Email: [email protected]<mailto:[email protected]>
www.betasystems-dci.com<http://www.betasystems-dci.com>

Mandatory Information for business emails according to German trade laws / 
Pflichtangaben für geschäftliche E-mails gemäß Handelsgesetzbuch:

SI Software Innovation GmbH - ein Unternehmen der Beta Systems Gruppe 
Europastr. 3
67433 Neustadt/Weinstr.
Germany
Phone: +49-(0)6321-499 15-00
Fax: +49-(0))6321-499 15-010
[email protected]
www.betasystems.com

Management / Geschäftsführer: Dr. Andreas Huth, Armin Steiner Legal form / 
Rechtsform: GmbH | Registered office / Sitz: Neustadt/Weinstr.
Commercial register / Handelsregister: Amtsgericht Ludwigshafen HRB 42358 
VAT-ID / Ust-ID-Nr.: DE812141093 | Tax No. / St.-Nr.: 31/652/1164/6 Bank / 
Bankverbindung: Commerzbank AG, BIC: COBADEFF, IBAN: DE53 1004 0000 0230 9417 00


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



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

Reply via email to