question about the usage of Uint8Array in the pdf.getDocument() method #18462
GreenFlag31
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a question about the usage of an Uint8Array to be provided to the pdf.getDocument() method.
The documentation recomands the use of Uint8Array to improve memory usage:

But Uint8Array is limited by size at about 2Go. max. (exceeding this limit will make Javascript crash).
What should be the solution? Why not using a stream to provide data chunk by chunk to the method? Is there any alternative way?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions