"yuanjk" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, August 11, 2005 6:51 AM
Subject: Re: [iText-questions] Why out of memory
> yuanjk wrote:
>
> >I am so confused .
> >
> >
> I haven't really tested your code, but I think I never saw a
> document.ne
yuanjk wrote:
I am so confused .
I haven't really tested your code, but I think I never saw a
document.newPage().
So you've got me confused too. You say you want to generate a page with
1000+ pages, but to test this, you are generating only 1 page with an
enormous amount of data on it.
Thanks for your replay.
But enven though I use your programe to test.
the same result java.lang.OutOfMemoryError.
(java -Xms2m -Xmx2m can get the test result quakily)
I am so confused .
Is iText cache whole document in memory?
Can I use tempory file in iText to generate large pdf file with thous
that's not enough memory.
Bill Ensley
Bear Printing
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of yuanjk
> Sent: Wednesday, August 10, 2005 6:32 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Wh
I had wrote a servlet with PdfContentByte to create a 1000 page pdf
dynamiclly . but out of memory , Then I wrote two test programe with
1 circle ,
the same resutl, out of memory.Can anybody help me,
Thanks.
PS; java -Xms64m -Xmx64m
test 1
/*
* $Id: