----------------------------------------
> Date: Mon, 6 Apr 2009 18:15:17 +0200
> From:
> To: [email protected]
> Subject: Re: [iText-questions] About the performance issue of the iText
>
> Hi Imgen,
>
> 2009/4/6 Imgen :
>> I use iText to add bookmarks to an existing pdf file. It's about 750k. But
>> it takes
>> 25s for the PdfStamper.close() to write the file to the disk. My computer's
>> configuration
>> is Intel Core2 Duo T7500 2.2GHZ + 2G Memory + Win7, not very bad. But the
>> close method
>> takes too long to complete the action. Is there a way to improve this or I'm
>> simply doomed.


You may want to note first if it is CPU or VM limited or even run some
standard java tools to profile the code of check the heap contents.

Often, you run into IO limitations. Do you have your own file read/write
subclasses? These are often things like single byte read loops that take 
forever.


>
> Please provide a standalone piece of code + existing PDF file so that
> we might have a chance to reproduce, and maybe pinpoint what's wrong.
> If possible, you can also try on your side with another OS, developing
> on an alpha/beta OS sounds to me just like asking for trouble...


_________________________________________________________________
Quick access to your favorite MSN content and Windows Live with Internet 
Explorer 8. 
http://ie8.msn.com/microsoft/internet-explorer-8/en-us/ie8.aspx?ocid=B037MSN55C0701A
------------------------------------------------------------------------------
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to