Rev 68948 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
% File src/library/utils/man/unix/memory.size.Rd% Part of the R package, https://www.R-project.org% Copyright 1995-2014 R Core Team% Distributed under GPL 2 or later\name{memory.size}\alias{memory.size}\alias{memory.limit}\title{Report on Memory Allocation}\description{\code{memory.size} and \code{memory.limit} are used to manage thetotal memory allocation on Windows. On other platforms these arestubs which report infinity with a warning.}\usage{memory.size(max = FALSE)memory.limit(size = NA)}\arguments{\item{max}{logical. If true the maximum amount of memory obtained fromthe OS is reported, otherwise the amount currently in use.}\item{size}{numeric. If \code{NA} report the memory size, otherwiserequest a new limit, in Mb.}}\details{To restrict memory usage on a Unix-alike use the facilities of theshell used to launch \R, e.g.\sspace{}\code{limit} or \code{ulimit}.}\value{Size in bytes: always \code{Inf}.}\seealso{\link{Memory-limits} for other limits.}\keyword{utilities}