Skip to content

Commit

Permalink
test: adjust windows failed alloc test to V8 6.2
Browse files Browse the repository at this point in the history
PR-URL: #14730
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
  • Loading branch information
bzoz authored and addaleax committed Sep 13, 2017
1 parent dc1996d commit fca7e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-windows-failed-heap-allocation.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const { exec } = require('child_process');

if (process.argv[2] === 'heapBomb') {
// heap bomb, imitates a memory leak quickly
const fn = (nM) => [...Array(nM)].map((i) => fn(nM ** 2));
const fn = (nM) => [...Array(nM)].map((i) => fn(nM * 2));
fn(2);
}

Expand Down

0 comments on commit fca7e49

Please sign in to comment.