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

Free Support Forum - aspose.com

Out of memory exceptions in PdfFileEditor.Concatenate

Tried to concatenate about 65 files both as streams and as file path strings, both times an oom exception gets raised in the concatenate method. The output stream is a file, so there is no risk of having some kind of byte[] buffer expanding in memory on my end. Is there a known issue with large document concatentation?




Thank you for considering Aspose.

Yes, there are capacity limitations of total size with concatenating methods due to the complexity of PDF format. We have tried to extend the capacity in our latest beta version You could download the attachment( in this thread to get the beta version and try it.

FYI, the following is some testing results for the beta version when applying license ):
parameters of Concatenate methods size of resultant Pdf (MB)
(string, string, string) 780
(stream, stream, stream) 200
(string[], string) 550
(stream[], stream) 140