mcollina / msgpack5

A msgpack v5 implementation for node.js, with extension points / msgpack.org[Node]
MIT License
492 stars 76 forks source link

JavaScript heap out of memory #82

Open yanzhou-share opened 4 years ago

yanzhou-share commented 4 years ago

<--- Last few GCs --->

[5872:0x103800000] 217741 ms: Scavenge 1385.3 (1423.6) -> 1384.4 (1424.1) MB, 6.3 / 0.0 ms (average mu = 0.203, current mu = 0.200) allocation failure [5872:0x103800000] 217751 ms: Scavenge 1385.3 (1424.1) -> 1384.5 (1424.6) MB, 6.7 / 0.0 ms (average mu = 0.203, current mu = 0.200) allocation failure [5872:0x103800000] 217765 ms: Scavenge 1385.4 (1424.6) -> 1384.6 (1425.1) MB, 9.1 / 0.0 ms (average mu = 0.203, current mu = 0.200) allocation failure

<--- JS stacktrace --->

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

0: ExitFrame [pc: 0x24441b25c01d]

Security context: 0x2acc78228d39 1: copy [0x2acca908f7e9] [/Users/mac/workspace/wb-server/node_modules/bl/bl.js:~138] [pc=0x24441b54db11](this=0x2accc0195b61 ,dst=0x2acc118822b1 ,dstStart=0,srcStart=54,srcEnd=55) 2: tryDecode(aka tryDecode) [0x2acc1af8a4b1] [/Users/mac/workspace/wb-server/node_modules/msgpack5/lib/decoder.js:~112] [pc=0x24441b5...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

How can I solve it? thank you