Hello

I have two questions to iText developers:

1. I am working on improving memory usage and processing speed of my
watermarking application and I have noticed that when I use following
constructor:

                        result = new PdfReader(new 
RandomAccessFileOrArray(fileName), null);

then memory usage is in one particular case about 136MB (max) and
processing time is about 80 sec.

When I change that constructor to

                        result = new PdfReader(fileName);

then processing time drops to 23 seconds BUT at the same time memory
usage jumps to 392MB. Input file has 32MB (PDF reference book from
Adobe).

Is there anything that I can do to have 23 seconds processing time AND
at the same time memory usage of 136MB? :)

2. Are there any architectural limitations in iText that could prevent
adding linearization feature?

Thanks!
-- 
Fotografia przyrodnicza i nie tylko
http://www.karolbryd.com

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to