[R] How to limit memory on a server

Hervy Cyril cyril.hervy at insee.fr
Wed Oct 3 17:07:05 CEST 2012


My OS is a 64-bit Windows Server 2008 SP2 and I have a sysadmin account on the server.
Thank you.
Best regards

Cyril Hervy


-----Message d'origine-----
De : Duncan Murdoch [mailto:murdoch.duncan at gmail.com] 
Envoyé : mercredi 3 octobre 2012 15:39
À : Hervy Cyril
Cc : R-help (r-help at r-project.org)
Objet : Re: [R] How to limit memory on a server

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