Massimiliano Ziccardi wrote:
> Thank you for your answer.
> 
> I think the problem is elsewhere: here is the test I did.
> 
> I have 1GB file.

With plenty of compressed data.
You must also take plenty of overhead due to object structures
that are kept in memory

> I copied the 1GB file 9 times.
> 
> Than I started signing them: the first file is signed OK, while the 
> second gives me the OutOfMemory error.
> 
> Could it be a memory leak?

Not necessarily.
You may be keeping too much objects in memory,
but that's not a leak.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
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