From 6acb062a864213384ab1e5bae89abd9dba252878 Mon Sep 17 00:00:00 2001 From: virusdefender Date: Sat, 30 Apr 2016 19:28:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=99=A8=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E5=86=85=E5=AD=98=E7=94=B12G?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA256M=EF=BC=8C=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E5=99=A8=E5=8D=A0=E7=94=A8=E5=A4=AA=E5=A4=9A?= =?UTF-8?q?=E5=86=85=E5=AD=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- judge/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/judge/compiler.py b/judge/compiler.py index 6b5f8dd..1aa5e0e 100644 --- a/judge/compiler.py +++ b/judge/compiler.py @@ -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,