We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Merging a large number of PDF documents into one

Thread ID:





79125 Jan 22,2009 01:11 AM UTC Jan 23,2009 08:29 AM UTC WinForms 2
Tags: PDF
Asked On January 22, 2009 01:11 AM UTC

I am merging a large number of PDFs into one - possibly up to 10000 files. Each file is up to 6 pages long. My initial approach was to build a string array with as many elements as have file names and pass it to the Merge method. However, I am afraid that this way would overload the memory (this merge functionality is running as a service inside BizTalk) plus it could crash due to any one file having a problem, and would not know which.

Is it safer/more memory-efficient to merge files one by one, always adding a single file to an ever-growing file that is a result of previous merges?

Is it by any chance more memory-efficient to use ImportPage or Pages.Insert?


Geetha M [Syncfusion]
Replied On January 22, 2009 12:52 PM UTC


Thank you for your interest in Syncfusion products.

It is more efficient to use Merge method that Import Page or Pages.Insert. However, we will check with our development team regarding the merging one by one or merging all the files.


Geetha M [Syncfusion]
Replied On January 23, 2009 08:29 AM UTC


Thank you for your patience.

Our development team has also suggested merging with lesser number of documents at a time.

Please let me know if you have any other concerns.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon