JavaScript heap out of memory
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 499
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
<--- 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report only identifies node_modules/bl/bl.js and msgpack5/lib/decoder.js in a Node.js stack trace; start by reproducing the failure with the same input and inspect those call sites. No expected behavior, input, or test is provided, so completion criteria must be established before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100