Hcs.Server.Gc_tune

hcs · API reference

type config = {
  minor_heap_size : int; (* Minor heap size in bytes. Default: 64MB *)
  major_heap_increment : int; (* Major heap increment in bytes. Default: 32MB *)
  space_overhead : int; (* Space overhead percentage. Default: 200 *)
  max_overhead : int; (* Max overhead percentage. Default: 500 *)
}
val default : config
val aggressive : config
val tuned : bool ref
val apply : ?config:config -> unit -> unit