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.

PDF attachments size limit

Thread ID:

Created:

Updated:

Platform:

Replies:

119828 Aug 5,2015 10:17 AM Aug 11,2015 09:20 AM ASP.NET Web Forms 3
loading
Tags: PDF
Oleg Gnetulia
Asked On August 5, 2015 10:17 AM

Hi,
I am trying to add attachment to existed PDF document:

                PdfLoadedDocument doc1 = new PdfLoadedDocument(tempFile);
                      
                if (doc1.Attachments == null)
                    doc1.CreateAttachment();

                PdfAttachment attachment = new PdfAttachment(attachmentPath);
                attachment.ModificationDate = DateTime.Now;
                attachment.Description = info.Name;
                attachment.MimeType = "application/txt";

                doc1.Attachments.Add(attachment);
                doc1.Save(newName);

                doc1.Close();

It works fine for small attachments, but it gives "Exception of type 'System.OutOfMemoryException' was thrown." for 200Mb attachments.
Do you have any attachments size limit? How we can increase this size?


Karthik Krishnaraj [Syncfusion]
Replied On August 6, 2015 01:21 AM

Hi Oleg,
Thank you for using syncfusion products,
We are analyzing on your issue with “Out of memory exception occurs while attachement file size is 200 MB” and suspect this to be a defect. We will update more details regarding this issue on August 10, 2015.
Thanks,
Karthik.

Oleg Gnetulia
Replied On August 11, 2015 04:04 AM

Hi Karthik,

Do you have any updates? It's hard to believe that I am first Synsfusion user who faced with pdf attachments file size limitation issue.
I double checked, I have OutOfMemoryException event with files more that 100 MB.   

Thank you.

Karthik Krishnaraj [Syncfusion]
Replied On August 11, 2015 09:20 AM

Hi Oleg,
We were able to reproduce the problem and have logged defect report regarding this. A support incident to track the status of this defect has been created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents
Please let me know if you have any questions.
Thanks,
Karthik.

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.

;