mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +08:00
judge: add copyOutMax config
This commit is contained in:
1 parent
78e75ce8b7
commit
d92f3f3ed6
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user