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

PDF attachments size limit

Thread ID:





119828 Aug 5,2015 02:17 PM UTC Aug 11,2015 01:20 PM UTC ASP.NET Web Forms 3
Tags: PDF
Oleg Gnetulia
Asked On August 5, 2015 02:17 PM UTC

I am trying to add attachment to existed PDF document:

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

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



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 05:21 AM UTC

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.

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

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 01:20 PM UTC

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

Please let me know if you have any questions.


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