Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Takes up lot of memory to render Large PDF docs where as it works smoothly in Vanilla PDF.JS #67

Open
vishnuys opened this issue May 29, 2018 · 3 comments

Comments

@vishnuys
Copy link

All the features work perfectly fine for small documents below 100 pages the for documents that are above 300 pages makes the browser really slow that even mouse movement takes a while to reflect. The browser memory, as well as the RAM, increases at least 2GB when the document gets loaded.

Is there any way to reduce the memory consumption or alternate ways to render the document server side?

@SAanish
Copy link

SAanish commented Jun 6, 2018

@vishnuys Hello we are facing same issue. Do you find any solution for large pdf file? Thanks

@vishnuys
Copy link
Author

vishnuys commented Jun 7, 2018

@SAanish No, I looked into the library if I can remove any unused parts of it but it seems like everything is necessary. So as a temporary hack, We are splitting the pdf into 50 page PDFs and switching it to the corresponding PDF when necessary.

@Vishnupriya112
Copy link

Am also facing the same Issue. But I tried to update the version. Its little bit faster. But I need more faster than that

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants