pub fn limit_memory(bytes: u64) -> boolExpand description
Limits the address space of this process (the preview child), so a file that needs more memory fails cleanly instead of taking the server host down. Linux and macOS; elsewhere (Windows) the limit is not enforced. Returns whether a limit is in force.