judge: add copyOutMax config

This commit is contained in:
undefined committed 2022-12-02 22:14:26 +08:00
1 parent 78e75ce8b7
commit d92f3f3ed6
1 file changed
+1
+1
View File
@@ -98,6 +98,7 @@ function proc(params: Parameter): Cmd {
strictMemoryLimit: getConfig('strict_memory'),
// stackLimit: memory * 1024 * 1024,
procLimit: params.processLimit || getConfig('processLimit'),
copyOutMax: Math.floor(1024 * 1024 * size * 3),
copyIn,
copyOut,
copyOutCached,