Skip to content

Commit 854cede

Browse files
committed
Halve asy stack size.
8GB seems to cause asymptote to crash on *some* machines for reasons that we were not able to understand.
1 parent 72a250a commit 854cede

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • task-maker-format/src/ioi/statement

task-maker-format/src/ioi/statement/asy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl AsyFile {
4444
.limits_mut()
4545
.read_only(false)
4646
.wall_time(10.0) // asy tends to deadlock on failure
47-
.stack(8192 * 1024) // due to a libgc bug, asy may crash with unlimited stack
47+
.stack(4096 * 1024) // due to a libgc bug, asy may crash with unlimited stack
4848
.allow_multiprocess()
4949
.add_extra_readable_dir("/etc")
5050
.mount_tmpfs(true)

0 commit comments

Comments
 (0)