Copy link to clipboard
Copied
File size is 1.41GB PDF created i get several errors:
1. Out of memory as per console snapshot below
2. Timeout or network error (but it shows 100%)
I can also see the full 1.4 network request compelted in abot 50 seconds, so why there is a timeout I do not know, especially when it says 100% below. (but nothing shows)
Document opens normally in other PDF programs, just not using the embed api, (other docs work fine which are 300mb or so.
I have also turned on enableLinearization: true, which is suppose to start displying the pdf progressible, but in all cases, it waits untill its 100% before it shows (for other working pdfs)
What am i doing wrong here?
Chrome Latest / Edge latest both the same result.
Copy link to clipboard
Copied
First off, I'd strongly urge you to reconsider loading a 1 gig file on a web page. That's..... a heck of a lot of data.
You mentioned you enable linearization, but is the PDF itself linearized? That's a requirement. We've got an API for that, https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/linearize-pdf/, but in theory, I believe you can do it in Acrobat Pro.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now