node-pdf2img icon indicating copy to clipboard operation
node-pdf2img copied to clipboard

Issue while processing multiple page pdf

Open bjp232004 opened this issue 9 years ago • 1 comments

<--- 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 <JS Object> 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

bjp232004 avatar Oct 18 '16 12:10 bjp232004

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

marxys avatar Nov 30 '16 01:11 marxys