I am adding 100 images into the pdf document. After adding 90 images, the program throws outof memory exception.
for(int i = 0; i<100;i++){ Image img = Image.getInstance(url) ; document.add(img); } How can I avoid this memory issue? -- View this message in context: http://www.nabble.com/Memory-issue-while-adding-images-in-document-tf3894780.html#a11041648 Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/