We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1996d commit fca7e49Copy full SHA for fca7e49
test/parallel/test-windows-failed-heap-allocation.js
@@ -10,7 +10,7 @@ const { exec } = require('child_process');
10
11
if (process.argv[2] === 'heapBomb') {
12
// heap bomb, imitates a memory leak quickly
13
- const fn = (nM) => [...Array(nM)].map((i) => fn(nM ** 2));
+ const fn = (nM) => [...Array(nM)].map((i) => fn(nM * 2));
14
fn(2);
15
}
16
0 commit comments