Skip to main content

SandboxedConfig

Configuration for a sandboxed task executed via Monty.

Attributes

AttributeTypeDescription
max_memoryint = 52428800The maximum amount of memory in bytes that the sandboxed task can use, which helps prevent out-of-memory errors and resource exhaustion.
max_stack_depthint = 256The maximum depth of the call stack for the sandboxed task, preventing infinite recursion and stack overflow errors.
timeout_msint = 30000The maximum execution time in milliseconds for the sandboxed task, ensuring that long-running or hung tasks do not consume excessive resources.
type_checkbool = trueA boolean indicating whether type checking should be performed within the sandboxed task, which can help catch type-related errors during execution.