mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +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'),
|
strictMemoryLimit: getConfig('strict_memory'),
|
||||||
// stackLimit: memory * 1024 * 1024,
|
// stackLimit: memory * 1024 * 1024,
|
||||||
procLimit: params.processLimit || getConfig('processLimit'),
|
procLimit: params.processLimit || getConfig('processLimit'),
|
||||||
|
copyOutMax: Math.floor(1024 * 1024 * size * 3),
|
||||||
copyIn,
|
copyIn,
|
||||||
copyOut,
|
copyOut,
|
||||||
copyOutCached,
|
copyOutCached,
|
||||||
|
|||||||
Reference in new issue
Block a user