From c205f98f26ffe847093a97a5cc65954f3f5870ac Mon Sep 17 00:00:00 2001 From: int-y1 Date: Sat, 21 Dec 2024 13:51:56 -0500 Subject: [PATCH] executors/sbcl: increase memory limit --- dmoj/executors/SBCL.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dmoj/executors/SBCL.py b/dmoj/executors/SBCL.py index f645cc02c..3ad365ade 100644 --- a/dmoj/executors/SBCL.py +++ b/dmoj/executors/SBCL.py @@ -3,7 +3,7 @@ # SBCL implements its own heap management, and relies on ASLR being disabled. So, on startup, -# it reads /proc/self/exe do determine if ASLR is disabled. If not, it forks, sets +# it reads /proc/self/exe to determine if ASLR is disabled. If not, it forks, sets # personality (https://man7.org/linux/man-pages/man2/personality.2.html) to disable ASLR, # then execve's itself... # As of https://github.com/DMOJ/judge-server/issues/277 we set personality ourselves to disable ASLR, @@ -14,8 +14,8 @@ class Executor(NullStdoutMixin, CompiledExecutor): command = 'sbcl' syscalls = ['personality'] test_program = '(write-line (read-line))' - address_grace = 262144 - data_grace = 262144 + address_grace = 524288 + data_grace = 524288 nproc = -1 compile_script = """(compile-file "{code}")"""