package process_limits

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception ExceededMemoryLimit of string
val run_with_memory_limit : ?get_context:(unit -> string) -> ?stack_warning_kb:int -> ?heap_warning_mb:int -> mem_limit_mb:int -> (unit -> 'a) -> 'a
val default_stack_warning_kb : int