Why does out of memory exception arise on processing large size documents in Essential DocIO in .NET WebForms ?
Essential® DocIO keeps the entire document contents (paragraphs, images, tables, and all other supported items along with the formatting) in main memory. Some documents may seem to have very few contents, but Essential® DocIO uses more memory due to the rich set of formatting applied to the contents. In the case of opening a Docx file, you may think the file size is small, but Essential® DocIO utilizes very large memory. Since it is a zip archive file with the extension "docx," Essential® DocIO internally decompresses it and populates the content in the document object model, utilizing significant main memory. The main memory utilized by an instance will not be released until the instance is removed from the document.
Hence, there is a chance for an "Out of memory exception" when the memory utilization exceeds the maximum level as the content of the document increases. Kindly split the contents into several documents or use high-configuration machines with extended RAM to create or open large-sized documents comfortably.
Note:
A new version of Essential® Studio® for ASP.NET is available. Versions prior to the release of Essential® Studio® 2014, Volume 2, will now be referred to as classic versions. The new ASP.NET suite is powered by Essential® Studio® for JavaScript, providing client-side rendering of HTML5-JavaScript controls, offering better performance, and better support for touch interactivity. The new version includes all the features of the old version, so migration is easy
The Classic controls can be used in existing projects; however, if you are starting a new project, we recommend using the latest version of Essential® Studio® for ASP.NET. Although Syncfusion® will continue to support all Classic Versions, we are happy to assist you in migrating to the newest edition.
For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion®, you can try our 30-day free trial to check out our other controls. If you have any queries or require clarifications, please let us know in the comments section below.
You can also contact us through our support forums or feedback portal. We are always happy to assist you!