Dear Gurus,

My project uses iTextSharp to generating PDFs which contains many pictures. The 
memory cost becomes higher with more and more image added. It seems the PDF 
document is opened in memory and it holds all the added content(including image 
content) in memories.

If the iText Image is from BMP, it will cost much more memory than the ones 
from JPEG. Of course use the compression can be one solution, but it can't be 
the option for my project :-(.

Is there any way that I can try to dispose the iText images after adding them 
to the PDF document? Or is there any way to reduce the memory cost for the 
iText images?

The iText I use is the iTextSharp, which is the iText's .NET verion. But I 
think there maybe be similiar issues in other versions, like the Java version.

Thanks a lot!
 




--
This message was sent on behalf of [EMAIL PROTECTED] at openSubscriber.com
http://www.opensubscriber.com/messages/[email protected]/topic.html

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to