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
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
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