ulimit
ulimit copied to clipboard
Limit memory usage of R processes on POSIX systems | Obsolete, use this instead:
trafficstars
UNMAINTAINED
Use unix::rlimit_as() instead.
ulimit

Limit R memory on POSIX systems (Linux, ~~OS X~~, ...).
Installation
devtools::install_github("krlmlr/ulimit")
Usage
Execute the following to limit the memory available to R to 2000 MiB:
ulimit::memory_limit(2000)
See also the package documentation and the small vignette.
Related
RAppArmor has the rlimit_as() function and much, much more.