Re: [iText-questions] Merge PDF and memory problem

2005-09-30 Thread Bruno Lowagie
Ali Ghassemi wrote: -reader = new Pdfreader(filepath) Use the PdfReader constructor that takes a RandomAccessFileOrArray. It is memory-friendly. (You need a recent iText version for this.) I read some posts on the list and found that people have had same memory problem with this code

[iText-questions] Merge PDF and memory problem

2005-09-29 Thread Ali Ghassemi
Hi everyone, I am using iText Java API to merge around 1500 PDF files into one large one. However, it looks to me that iText keeps everything in memory until close() on the document is called which is causing my application to run out of memory. Here is how I merge the PDF files: - doc = n

[iText-questions] Merge PDF and memory problem

2005-09-29 Thread ALi Enigma
Hi everyone,I am using iText Java API to merge around 1500 PDF files into one large one. However, it looks to me that iText keeps everything in memory until close() on the document is called which is causing my application to run out of memory. Here is how I merge the PDF files:- doc = new Docume