mirror of
https://github.com/QingdaoU/JudgeServer.git
synced 2025-11-04 14:50:01 +08:00
support judger max_stack arg
This commit is contained in:
parent
fc04c2d2a1
commit
de58bb33f2
@ -21,6 +21,7 @@ class Compiler(object):
|
||||
result = _judger.run(max_cpu_time=compile_config["max_cpu_time"],
|
||||
max_real_time=compile_config["max_real_time"],
|
||||
max_memory=compile_config["max_memory"],
|
||||
max_stack=128 * 1024 * 1024,
|
||||
max_output_size=1024 * 1024,
|
||||
max_process_number=_judger.UNLIMITED,
|
||||
exe_path=_command[0],
|
||||
|
||||
@ -72,6 +72,7 @@ class JudgeClient(object):
|
||||
result = _judger.run(max_cpu_time=self._max_cpu_time * 3,
|
||||
max_real_time=self._max_cpu_time * 9,
|
||||
max_memory=self._max_memory * 3,
|
||||
max_stack=128 * 1024 * 1024,
|
||||
max_output_size=1024 * 1024 * 1024,
|
||||
max_process_number=_judger.UNLIMITED,
|
||||
exe_path=command[0].encode("utf-8"),
|
||||
@ -104,6 +105,7 @@ class JudgeClient(object):
|
||||
run_result = _judger.run(max_cpu_time=self._max_cpu_time,
|
||||
max_real_time=self._max_real_time,
|
||||
max_memory=self._max_memory,
|
||||
max_stack=128 * 1024 * 1024,
|
||||
max_output_size=1024 * 1024 * 1024,
|
||||
max_process_number=_judger.UNLIMITED,
|
||||
exe_path=command[0].encode("utf-8"),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user