Have you looked at the java heap (memory allocation) to find the source of your problem?
I havent done it myself, but
http://www.javapassion.com/javase/javaMemoryProfiling.pdf
seems to give some good hints.

Page 16 gives tips on how to get a heap dump on out of memory error:
-XX:+HeapDumpOnOutOfMemoryError
– Use this JVM command line switch when launching application.
Can be used with -XX:HeapDumpPath=<path>/<file>

The document also points out some free java heap profiling tools.

/Klas


Ämne:
[iText-questions] out of memory error while creating document
Från:
vra <vra...@yahoo.co.in>
Datum:
Thu, 4 Jun 2009 23:01:30 -0700 (PDT)
Till:
itext-questions@lists.sourceforge.net
Till:
itext-questions@lists.sourceforge.net

Hi,

i am creating tables using pdfptable and creating the document, when
creating more objects for cell, i am getting out of memory exception.. how
can i overcome this...

i tried to create separte pdf files and concatenate them, but still getting
same error..

awaiting for reply..
  

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to