1 const numFatArgs = Math.pow(2,19) - 1024;
13 function assertRightFailure(e) {
14 assertEq(e.toString() == "InternalError: script stack space quota is exhausted" ||
15 e.toString() == "InternalError: too much recursion",
21 fatStack.apply(null, new Array(numFatArgs));
23 assertRightFailure(e);
26 assertEq(exception, true);
28 // No more trace recursion w/ JM
29 checkStats({traceCompleted:0});