For keeping your memory in RAM, i.e. preventing it from being swapped out.
module Mcl_flags : sig ... end
val mlockall : Mcl_flags.t list ‑> unit
Lock all pages in this process's virtual address space into physical memory. See man
mlockall
for more details.