Skip to main content

set_memory_limit

Function set_memory_limit 

Source
pub fn set_memory_limit(limit: usize) -> Result<usize>
Expand description

Set the process-global memory limit in bytes and return its previous value.

The new limit affects all threads and evaluations.