Last Updated: 30 Apr 2018 13:38 by ADMIN
Created on: 09 Mar 2017 13:02
Category: PdfProcessing
Type: Feature Request
PdfProcessing: Optimize PdfStreamWriter cache in order to reduce memory when writing RadFixedPage instances
Currently, when writing RadFixedPage the page instance reference is cached, as well as its content resources (images and fonts). This cache is important as it allows to reuse pages, images and fonts without writing them multiple times in the result PDF document. However, it needs to be optimized in order to consume less memory. 

The attached demo shows how to create 2500 pages with big images (different image on each page). With the current version, this demo consumes about 3 GB memory which may lead to OutOfMemoryException. With the optimization that will be introduced in LIB version, the same demo will consume about 20 MB memory for writing this big PDF document.

Available in LIB version: 2017.1.320
Posted on: 30 Apr 2018 13:38
Hi Paul,

From what I can see in the support history, we addressed the issue and everything should be now working as expected. In case you are still having any issues, please let us know.

Paul Korner
Posted on: 21 Mar 2017 10:21
We have tried the 2017.1.320 version and the fix does NOT seem to work. Please advise.