Skip to content

Commit

Permalink
executors/sbcl: increase memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
int-y1 authored and quantum5 committed Dec 21, 2024
1 parent f9e3356 commit c205f98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dmoj/executors/SBCL.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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}")"""
Expand Down

0 comments on commit c205f98

Please sign in to comment.