Skip to content

Commit

Permalink
test: bump memory limit for abort fatal error
Browse files Browse the repository at this point in the history
PR-URL: #44984
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com>
  • Loading branch information
danielleadams committed Oct 13, 2022
1 parent 3f20e5b commit 9ac029e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/abort/test-abort-fatal-error.js
Expand Up @@ -28,7 +28,7 @@ const assert = require('assert');
const exec = require('child_process').exec;

let cmdline = `ulimit -c 0; ${process.execPath}`;
cmdline += ' --max-old-space-size=4 --max-semi-space-size=1';
cmdline += ' --max-old-space-size=16 --max-semi-space-size=4';
cmdline += ' -e "a = []; for (i = 0; i < 1e9; i++) { a.push({}) }"';

exec(cmdline, function(err, stdout, stderr) {
Expand Down

0 comments on commit 9ac029e

Please sign in to comment.