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

Issue while processing multiple page pdf #14

Open
bjp232004 opened this issue Oct 18, 2016 · 1 comment
Open

Issue while processing multiple page pdf #14

bjp232004 opened this issue Oct 18, 2016 · 1 comment

Comments

@bjp232004
Copy link

bjp232004 commented Oct 18, 2016

<--- Last few GCs --->

11144 ms: Scavenge 969.5 (1008.3) -> 969.5 (1008.3) MB, 0.3 / 0 ms (+ 2.2 ms in 1 steps since last GC) [allocation failure] [incremental marking delaying mark-sweep].
11256 ms: Mark-sweep 969.5 (1008.3) -> 585.1 (625.8) MB, 112.6 / 0 ms (+ 2.4 ms in 2 steps since start of marking, biggest step 2.2 ms) [last resort gc].
11329 ms: Mark-sweep 585.1 (625.8) -> 585.1 (623.8) MB, 72.9 / 0 ms [last resort gc].

<--- JS stacktrace --->

==== JS stack trace =========================================

Security context: 0x298005e3ac1
2: /* anonymous / [/Documents/Nodedemo/pdf2image/node_modules/pdf2img/lib/pdf2img.js:~51] [pc=0x279bdc3b082](this=0x29800504101 ,pageCount=0x6097fb75189 <Number: 1.41414e+27>,callback=0x6097fb750f9 <JS Function %28SharedFunctionInfo 0x6097fb200a1%29)
4: /
anonymous */ [/Documents/Nodedemo/pdf2image/node_modules/async/lib/async.js:638] [pc...

FATAL ERROR: invalid array length Allocation failed - process out of memory
Abort trap: 6

@marxys
Copy link

marxys commented Nov 30, 2016

I fixed this with this pull request : @ #19
There was a bug on the page list construct

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

No branches or pull requests

2 participants