mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
编译器允许使用的内存由2G修改为256M,避免编译器占用太多内存。
This commit is contained in:
parent
66d1aa69f0
commit
6acb062a86
@ -16,7 +16,7 @@ def compile_(language_item, src_path, exe_path, judge_base_path, compile_spj=Fal
|
||||
in_file="/dev/null",
|
||||
out_file=compiler_output_file,
|
||||
max_cpu_time=2000,
|
||||
max_memory=2000000000,
|
||||
max_memory=256 * 1024 * 1024,
|
||||
args=compile_args,
|
||||
env=["PATH=" + os.environ["PATH"]],
|
||||
use_sandbox=False,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user