Using PdfFileEditor.Concatenate on the below three files causes my w3wp.exe process to grow from 150MB to over 700MB. Sometimes it times out and does not complete. It takes a great deal of time.
The problem is with the file PCRA_12.pdf. For some reason, the concatenate doesn’t like something about the structure of that file.
Please advise.
James Vitale
Hi
James,
Thanks for using our products.
I have tested the scenario using Aspose.Pdf for .NET 7.3.0 and I am unable to notice any issue while concatenating these PDF documents. I have used the following code snippet to concatenate the PDF files and I have also attached the resultant PDF which I have generated over my end.
[C#]
//create PdfFileEditor object<o:p></o:p>
Aspose.Pdf.Facades.PdfFileEditor pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
string[] filesArray = new string[3];
filesArray[0] = "d:/pdftest/wps.pdf";
filesArray[1] = "d:/pdftest/PCRA_12.pdf";
filesArray[2] = "d:/pdftest/IRDetail-00558.pdf";
//concatenate files
pdfEditor.Concatenate(filesArray, "d:/pdftest/ResultantConcatenated.pdf");
Please note that since June-2011, Aspose.Pdf.Kit for .NET has been discontinued as a separate product and its been merged into Aspose.Pdf for .NET. All its classes and enumerations are present under Aspose.Pdf.Facades namespace of Aspose.Pdf for .NET. Please visit the following link for further details on
In case you still face the same problem or you have any further query, please feel free to contact. We are sorry for your inconvenience.