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.
Unfortunately, activation email could not send to your email. Please try again.

PdfLoadedDocument .Save(string filename) is very slow

Thread ID:

Created:

Updated:

Platform:

Replies:

118328 Feb 25,2015 12:35 PM Mar 19,2015 08:23 AM Windows Forms 5
loading
Tags: PDF
jb
Asked On February 25, 2015 12:35 PM

I have a need wherein i have to fill a fillable pdf and save it as new file name. My clients want to do this in 10k+ range

I read my data from database and loop through each record

My code snippet is

using (PdfLoadedDocument pageDocument = new PdfLoadedDocument(fileByte))
{
  ..fil the form
 pageDocument.save(newFileName);
}

300 files get saved fast, after that it slows down and its almost like a few files every minute. There is no other application running at same time and as i know watch file name is unique i dont do any checks for existence of file. is this a known issue?

jb
Replied On February 25, 2015 01:29 PM

I have a need wherein i have to fill a fillable pdf and save it as new file name. My clients want to do this in 10k+ range

I read my data from database and loop through each record

My code snippet is

using (PdfLoadedDocument pageDocument = new PdfLoadedDocument(fileByte))
{
  ..fil the form
 pageDocument.save(newFileName);
}

300 files get saved fast, after that it slows down and its almost like a few files every minute. There is no other application running at same time and as i know watch file name is unique i dont do any checks for existence of file. is this a known issue?

This is in a asp.net application

Abirami Selvan [Syncfusion]
Replied On February 26, 2015 01:39 AM

Hi  Jb,

Thank you for using Syncfusion product .

We have tried to reproduce the issue to get slow down to save the pdf file when run the asp.net sample more than 300 times. We have attached the sample in below link which we have tried to reproduce the issue

http://www.syncfusion.com/downloads/support/directtrac/general/FillFormSample1938190695.zip

Please provide us the sample or input file which you have tried to reproduce the issue. It help us to proceed further in this issue .

Please let us know if you need any  queries .

Thanks,

Abirami.



James
Replied On March 18, 2015 06:39 AM

I am experiencing the same issue. Its painfully slow.
The FillFormSample link is broken. Can you please attach it again.
 
Thanks
James

James
Replied On March 18, 2015 07:23 AM

PdfLoadedDocument.Append is especially slow.

Abirami Selvan [Syncfusion]
Replied On March 19, 2015 08:23 AM

Hi James,

We are unable to reproduce the issue getting slow after generate more than the 300 files  using  append method. I have attached the sample in below link which we have tried to reproduce the issue :

http://www.syncfusion.com/downloads/support/forum/118328/FillFormSample51870515.zip

 

Please modify the sample or provide the sample which you have tried to reproduce the issue .It will help us to proceed further analysis in this issue .

Please let us know if you need any further assistance .

Thanks,

Abirami.

 


CONFIRMATION

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.

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.

;