Skip to content
Discussion options

You must be logged in to vote

We use pdf.js for rendering and pdf-lib for manipulation to keep memory usage low. Pages are rendered lazily and large operations run in Web Workers to avoid blocking the browser.

  1. Large files are handled by streaming, on-demand page rendering, and releasing temporary canvases/arrays so we don’t keep everything in memory at once.
  2. In testing, modern desktops handle PDFs up to ~150MB or 500+ pages; graphics-heavy or mobile devices hit limits earlier.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scrollify-sound
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants