Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] java.lang.outofmemoryerror when converting
64  page txt stream into PDF

Bruno

2006-06-20

Replies:

ravi shankar wrote:

> The image size is 213 kb and txt file size is 404 kb ...

How many time do you create the image instance?
Make sure you create it only once, so that the image data
is added to the PDF only once.
Anyhow, this is probably not the problem.
I am creating documents with 27,000+ pages
(this is the number of students @ Ghent University)
without any problem. Maybe it's sufficient to throw
some extra memory at it. Have you measured the
amount of memory that is used by your application?
br,
Bruno


_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.