PDF Document Processor: Memory Usage and Performance Optimization (Coming soon in v15.1)

Thinking Out Loud
27 May 2015

Both the DevExpress PDF Viewer control (for WinForms & WPF) and the PDF Document Processor (Document Generation Library) are getting performance enhancements in our upcoming release...We optimized PDF document load times and associated memory usage during load/save and load/render scenarios.

In our internal performance tests (loading a document with 3000 pages - 100MB), the new PDF Document Processor v15.1, performed quite well when compared to v14.2...

Metric

v14.2

v15.1

Adobe

Load time (seconds)

23.5

5.1

3.5

Memory (MB)

362.6

94.1

85.6






Perhaps "quite well" is an understatement - the performance numbers for v15.1 are much better than any previous version and approaching those of Adobe itself. 

These performance gains were achieved by implementing lazy document model creation and keeping weak references on document resources. This allows the control to read, manipulate and save documents of an unlimited size. Memory is only used for rendering/saving current page resources – page by page, and can be freed immediately.

In addition, images are no longer decompressed on save operations...allowing you to manipulate and save the documents with very large images even if they cant be displayed in the DevExpress PDF Viewer.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
No Comments

Please login or register to post comments.