Skip to content

Commit

Permalink
Set stepsN for out of memory issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ignasirv committed Sep 29, 2022
1 parent f3d874e commit 22256dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/sm/sm_main/sm_main_exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ module.exports = async function execute(pols, input, rom, config = {}) {
preprocessTxs(ctx);

if (debug && config.debugInfo) {
iTracer = new Tracer(config.debugInfo.inputName);
fullTracer = new FullTracer(config.debugInfo.inputName)
}

Expand Down
2 changes: 1 addition & 1 deletion tools/run-test/gen-parallel-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function main() {
}

const pilConfig = {
defines: { N: 2 ** 21 },
defines: { N: 4096 },
namespaces: ['Main', 'Global']
};

Expand Down
3 changes: 2 additions & 1 deletion tools/run-test/sample.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ it('Should run one input', async () => {
debug: true,
debugInfo: {
inputName: path.basename(inputPath)
}
},
stepsN: 8388608
}
console.log("Running test: ", inputPath);
await smMain.execute(cmPols.Main, input, rom, config);
Expand Down

0 comments on commit 22256dc

Please sign in to comment.