Hi Paulo,

I have an observation regarding iText. After the signing process is complete
the application don't release the amount of memory which was used in the
signing of the pdf

Example:
When the Java application was launched the system memory was at 100 MB, when
signing process just have to start the system memory is at 105 MB, after the
signing process is compeleted the memory goes to 120MB. Now it seems that it
took 20MB for iText to sign the PDF document (This may vary depending upon
the size of the PDF document which is fine keeping in view that iText loads
the compelete PDF in one go). Question is that after the signing is done the
memory stays at 120MB. It might come down to 119 MB but don't come back to
105 MB. It seems that iText is not releasing the memory it took to sign the
pdf why is that ?

Regards,
Wahaj

"Paulo Soares" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
100M looks too much but reading a pdf requires memory. One day PdfReader
will work incrementally but until then...

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Wahaj
> Sent: Tuesday, January 11, 2005 6:16 AM
> To: [email protected]
> Subject: [iText-questions] signing 10 MB sized pdf document
>
> Hi All,
>
> I am trying to digitally sign a 10 MB pdf document and
> getting out of memory
> exceptions using iText samples [it took more than 100 MB for
> the sample]. I
> know how to increase the heap size to remove this problem but
> I was thinking
> whether some effective memory management can be made in iText
> like streaming
> of some sort which donot take much memory while signing.
> Think about signing
> a 20 MB+ pdf document which would really eat up system's
> memory. Is there a
> way ?
>
> Regards,
> Wahaj
>
>
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt





-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to