Closed naholyr closed 7 years ago
Security context: 0xf4e563e3ac1 <JS Object> 2: uint8Array2String [/home/nchambrier/Projects/LMTM/copycast/node_modules/easy-zip/jszip.js:~791] [pc=0xef2db848bb0] (this=0x3b8be4240e1 <an Object with map 0xd326c0810f1>,array=0xf4e56384551 <an Uint8Array with map 0x2ff2b4909c71>) 3: /* anonymous */ [/home/nchambrier/Projects/LMTM/copycast/node_modules/easy-zip/jszip.js:183] [pc=0xef2db837a45] (this=0x188db11f8459 <an EasyZip with map... FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory [1] 24734 abort (core dumped) copycast
Was related to a file > 100 Mb
Solution : automatically exclude too big files? Check memory before generating zip?
Since #25 we use a stream-based solution, which should protect us from memory issues.