We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

PdfFileEditor.Concatenate method does not generate the output for large files

Hi

I am using the following code to concatenate pdf's.

PdfFileEditor lobjpdfEditor = new PdfFileEditor();

if(lobjpdfEditor.Concatenate(lobjfsInStream1, lobjfsInStream2, lobjfsOutStream)){

lobjfsInStream1.Close();

if(pstrsourceFiles2 != null)

lobjfsInStream2.Close();

lobjfsOutStream.Close();

}

The above code works fine for files which are of less size say file size of less than 1 MB. But if the size of file in either lobjfsInStream1 or lobjfsInStream2 is very high say 15MB then expected output pdf is not generated even if i wait for 70 to 80 mins.

I have tried to concatenate PDF's of 15MB and 400Kb. Please suggest me what is the problem.

Is there any other way i can concatenate the pdf's of large size?

The file with 15MB size contain all images.

Hi Aneesh,

Please share the input PDF files you’re having problem with. We need to test the issue at our end.

We’re sorry for the inconvenience.
Regards,