Hi Gregoire,

I have kind of the same problem.
Try to find in your code, when are you creating a lot of Objects....
Because, one problem to me, is that I'm creating a lot of Paragraph objects into a recursive method.
The solution to me was to enlarge the memory space for jvm, but I don't like it.
I'm still waiting for someone to tell me how to create or something, a method for setting up the font and text to a paragraph AFTER I have the Paragraph object created
(ex:
Paragraph para=new Paragraph();
para.setFont(new RtfFont(....));
para.setText("This is my paragraph);

)

But seems that are now such methods :(

Thanks for any help/idea.


On 7/24/06, gregoire lementec <[EMAIL PROTECTED]> wrote:
Hi,
when i run Itext to split big Pdf , I got an 'OutOfMemoryError : java heap
Space'

The Pdf File I split is 1 Go and could be even bigger. I manage to generate
files up to 250 Mo from splittin' the original.
I had to use RandomAccessFileOrArray and PdfReader because with a simple
PdfReader the file could not be read.

Any Idea of how avoiding this problem
(sorry to speak a so bad english...)

regards
Greg

_________________________________________________________________
Retrouvez tout en un clin d'oeil avec la barre d'outil MSN Search !
http://desktop.msn.fr/


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions



--
Best Regards,

Alin
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to