mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-21 01:46:28 +08:00
judge: add strictMemory setting
This commit is contained in:
1 parent
b61debc039
commit
c67e2b85e3
4 files changed
+8
-1
No files matched your search
@@ -46,6 +46,7 @@ function proc({
|
||||
cpuLimit: time * 1000 * 1000 * rate,
|
||||
realCpuLimit: time * 3000 * 1000 * rate,
|
||||
memoryLimit: memory * 1024 * 1024,
|
||||
strictMemoryLimit: getConfig('strict_memory'),
|
||||
// stackLimit: memory * 1024 * 1024,
|
||||
procLimit: process_limit,
|
||||
copyIn,
|
||||
|
||||
Reference in new issue
Block a user