Skip to content

Commit

Permalink
Increasing limit for Java 13
Browse files Browse the repository at this point in the history
  • Loading branch information
mxro committed Oct 8, 2021
1 parent 7d5babf commit c08018c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/delight/nashornsandbox/TestGetFunction.java
Expand Up @@ -16,7 +16,7 @@ public class TestGetFunction {
public void test() throws ScriptCPUAbuseException, ScriptException {
NashornSandbox sandbox = NashornSandboxes.create();
sandbox.setMaxCPUTime(100);
sandbox.setMaxMemory(100 * 1024);
sandbox.setMaxMemory(100 * 1024 * 100);
sandbox.allowNoBraces(false);
sandbox.setMaxPreparedStatements(30); // because preparing scripts for
// execution is expensive
Expand Down

0 comments on commit c08018c

Please sign in to comment.