PDFTron Webviewer Out of Memory large PDF file (70MB)

Product: PDFTron webviewer

Product Version: 7.3.1

Please give a brief summary of your issue:
When we are trying to view a large PDF file (70MB) in PDFtron web viewer inside our web application. After a while, the application will fall to an out of memory exception

Please describe your issue and provide steps to reproduce it:
What we are doing right now:

  • Linearized PDF file when going out of the server
    image
  • Feeding the webviewer via docViewer.loadDocument() using API endpoint that returns byte()

Not yet implemented:

  • byte range - when we tried to add byte range to our API the PDFTron webviewer was taking so long to load the document (it was loading a 70MB per 1MB of partial content).

Warnings:

Regards,
Christian P.

Hi Christian,

I see that you’re using WebViewer 7.3.1. The latest release of WebViewer is now 8.9.0. Have you tried to use the latest version of WebViewer?

Best Regards,
Zach Serviss
Web Development Support Engineer
PDFTron Systems, Inc.