Process.setrlimit(resource, cur_limit, max_limit) â nilProcess.setrlimit(resource, cur_limit) â nil
Class Public methods
Sets the resource limit of the process. cur_limit means current
(soft) limit and max_limit means maximum (hard) limit.
If max_limit is not given, cur_limit is used.
resource indicates the kind of resource to limit. It should be a
symbol such as :CORE, a string such as
"CORE" or a constant such as
Process::RLIMIT_CORE. The available resou