Use PdfCopy.

----- Original Message ----- 
From: "R K" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, August 12, 2005 3:57 PM
Subject: [iText-questions] outofmemory error while concatenating 850 files


Hello

I am trying to concatenate 850 files to one using the below mentioned code.

PdfCopyFields copy = new PdfCopyFields(new FileOutputStream(output));
PdfReader reader = null;
        for (int i = 0; i < pages.size(); i++) {
    reader = new PdfReader(filePath + pages.get(i));
    copy.addDocument(reader);
        }
copy.close();

Its not able to complete the process. Inbetween outofmemory error will
come and halt the process. Any suggestions??

Regards
RK


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to