Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple page PDF is taking too much resources #16

Open
garusis opened this issue Nov 12, 2016 · 2 comments
Open

Multiple page PDF is taking too much resources #16

garusis opened this issue Nov 12, 2016 · 2 comments

Comments

@garusis
Copy link

garusis commented Nov 12, 2016

I try to convert a 42 pages pdf and It kill my laptop. I think that can be fix it if we add a property to limit the max quantity pages that can be process at time.

@marxys
Copy link

marxys commented Nov 30, 2016

The issue come from var pageCount which have a wrong incredibly long value. I fix it on my pull request : #19

Your solution is useful to larger pdf, but can you add an offsetPage attribute to be able to continue treatment after first pass ?

@garusis
Copy link
Author

garusis commented Nov 30, 2016

Actually, the issue come from the pages' quantity that try to process at same time, but your fix is very useful and necessary. I'll try to integrate this with your PR when I have free time.

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

Successfully merging a pull request may close this issue.

2 participants