From ripley@stats.ox.ac.uk  Wed Jan  3 20:58:21 2001
From: ripley@stats.ox.ac.uk (Prof Brian D Ripley)
Date: Wed, 3 Jan 2001 20:58:21 +0000 (GMT)
Subject: [Rd] memory trouble
In-Reply-To: <200101031602.RAA15155@mailgate3.cinetic.de>
Message-ID: <Pine.GSO.4.05.10101032051260.7468-100000@auk.stats>

Read the documentation: CHANGES or ?Memory.

  New command-line option --max-mem-size to set the maximum memory
  allocation: it has a minimum allowed value of 10M.  This is intended
  to catch attempts to allocate excessive amounts of memory which may
  cause other processes to run out of resources.  The default is the
  smaller of the amount of physical RAM in the machine and 256Mb.

You probably want to read the rest of the descriptions, and reading
documentation is always a good idea, so please do read the rest of the
CHANGES file.

There is a good reason for the numbers: the new malloc likes a contiguous
memory space, and R only reserves 256Mb initially (out of the 2Gb space on
non-server versions).  You can re-compile it to reserve more.

-- 
Brian D. Ripley,                  ripley@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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] memory trouble
Prof Brian D Ripley