| Line 38... |
Line 38... |
| 38 |
(On Windows the \option{--max-mem-size} option sets the maximum memory
|
38 |
(On Windows the \option{--max-mem-size} option sets the maximum memory
|
| 39 |
allocation: it has a minimum allowed value of 10M. This is intended
|
39 |
allocation: it has a minimum allowed value of 10M. This is intended
|
| 40 |
to catch attempts to allocate excessive amounts of memory which may
|
40 |
to catch attempts to allocate excessive amounts of memory which may
|
| 41 |
cause other processes to run out of resources. The default is the
|
41 |
cause other processes to run out of resources. The default is the
|
| 42 |
smaller of the amount of physical RAM in the machine and 256Mb.
|
42 |
smaller of the amount of physical RAM in the machine and 256Mb.
|
| 43 |
See also \code{\link{memory.limit}}.)
|
43 |
See also \code{\link[utils]{memory.limit}}.)
|
| 44 |
#endif
|
44 |
#endif
|
| 45 |
|
45 |
|
| 46 |
To understand the options, one needs to know that \R maintains
|
46 |
To understand the options, one needs to know that \R maintains
|
| 47 |
separate areas for fixed and variable sized objects. The first of these
|
47 |
separate areas for fixed and variable sized objects. The first of these
|
| 48 |
is allocated as an array of \dQuote{\emph{cons cells}} (Lisp programmers will
|
48 |
is allocated as an array of \dQuote{\emph{cons cells}} (Lisp programmers will
|
| Line 102... |
Line 102... |
| 102 |
\seealso{
|
102 |
\seealso{
|
| 103 |
\code{\link{gc}} for information on the garbage collector,
|
103 |
\code{\link{gc}} for information on the garbage collector,
|
| 104 |
\code{\link{memory.profile}} for profiling the usage of cons cells.
|
104 |
\code{\link{memory.profile}} for profiling the usage of cons cells.
|
| 105 |
#ifdef windows
|
105 |
#ifdef windows
|
| 106 |
|
106 |
|
| 107 |
\code{\link{memory.size}} to monitor total memory usage,
|
107 |
\code{\link[utils]{memory.size}} to monitor total memory usage,
|
| 108 |
\code{\link{memory.limit}} for the current limit.
|
108 |
\code{\link[utils]{memory.limit}} for the current limit.
|
| 109 |
#endif
|
109 |
#endif
|
| 110 |
}
|
110 |
}
|
| 111 |
|
111 |
|
| 112 |
\note{
|
112 |
\note{
|
| 113 |
For backwards compatibility, options \option{--nsize} and
|
113 |
For backwards compatibility, options \option{--nsize} and
|