Skip to content
Back to formatted view

Raw Message

Message-ID: <8783E63F6AAD4A459576D360DD88EE88C930DD@S90X3BAL4.ad.insee.intra>
Date: 2012-10-03T15:12:30Z
From: Hervy Cyril
Subject: How to limit memory on a server
In-Reply-To: <506C40DF.6060200@stats.ox.ac.uk>

My OS is a 64-bit Windows Server 2008 SP2 and I would like to limit RAM usage on the server.
Thank you.
Best regards

Cyril Hervy 

-----Message d'origine-----
De : Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk] 
Envoy? : mercredi 3 octobre 2012 15:43
? : Hervy Cyril
Cc : R-help (r-help at r-project.org)
Objet : Re: [R] How to limit memory on a server

And your OS is?  See the footer and the 'at a minimum' information the posting guide asks for.

I think you are confusing 'memory' and 'RAM': the two concepts are distinct.

But R is not a special case, and you do it the same way as you do this for any other process, by your OS facilities.

On 03/10/2012 10:12, 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?
> Thank you.
>
> Cyril Hervy
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595