Skip to content

Commit 96a1fb3

Browse files
authored
fix: Give codejail executions more memory (to accommodate matplotlib) (#120)
1 parent b86702f commit 96a1fb3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

py_configuration_files/codejail.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
'CPU': 3,
2424
# Clock seconds
2525
'REALTIME': 3,
26-
# 100 MiB memory
27-
'VMEM': 100 * 1024 * 1024,
26+
# Need at least 300 MiB memory for matplotlib alone. 512 MiB should be
27+
# enough headroom in general.
28+
'VMEM': 512 * 1024 * 1024,
2829
# 1 MB file write limit
2930
'FSIZE': 1 * 1024 * 1024,
3031
},

0 commit comments

Comments
 (0)