[iText-questions] Appending byte[] with the exsisting document

2007-10-17 Thread gscac
(); document.add(new Paragraph("Start...")); Now I want the word docuemnt byte[] append to this document. How can I do this? I tried with ByteBuffer. The pdf file is created successfully. But when I open it, it says "File is corrupted". Please provide some ideas. Thanks, gscac --

Re: [iText-questions] Memory issue while adding images in document

2007-06-13 Thread gscac
Already the memory size is set to 512M. Paulo Soares wrote: > > Increase the memory allocated to the JVM. The default 64M are usually too > little. > > Paulo > > - Original Message - > From: "gscac" <[EMAIL PROTECTED]> > To: > S

[iText-questions] Memory issue while adding images in document

2007-06-12 Thread gscac
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/Memor