[R] How to limit memory on a server

Duncan Murdoch murdoch.duncan at gmail.com
Wed Oct 3 15:39:10 CEST 2012


On 03/10/2012 5:12 AM, Hervy Cyril wrote:
> Hello,
> In our structure, users connect to a server (64GB of memory) where they launch R. How can I limit the amount of RAM that could use a user.
> The function memory.limit(size=...) can limit the amount of memory but I would like users can't change this option in R. Is it possible?

Generally speaking, that's something that the operating system needs to 
enforce.   If you don't know how to do it with your OS, you might get 
some advice here by saying which one it is, but you may have to ask a 
sysadmin at your site.

Duncan Murdoch




More information about the R-help mailing list