[R] heap memory exhausted

Guido Masarotto guido at sirio.stat.unipd.it
Sun Nov 29 20:05:28 CET 1998

On Fri, Nov 27, 1998 at 05:57:41PM +0100, Zivan Karaman wrote:
> I'm also using R 0.63 (Guido's port) on NT4 SP3, and get the same message
> whenever I try to start R from the command prompt (even without the
> options, just simply typing "R" in the D:\R\rw0630\bin folder).
> On the other hand, if you want to increase the memory available for R, you
> can create a Windows shortcut for R, and change the command line in the
> properties dialogue. You should note that the options '-v' and '-n' are now
> called '--vsize' and '--nsize' respectively, so that the command line
> should look something like 
> "D:\R\rw0630\bin>R.exe --nsize 300000 --vsize 10".
  I have tried to replicate the error under Win95 and 98 but with
  a limited lucky (I hoped this of course!!): I only had
  problem launching R from a Cygnus console bad configured
  (but this is a known problem of Cygnus bash, not of R).
  I will try again under NT during next week (I haven't
  one available now). 

> I've also noticed that the R event loop uses 100% of the CPU!!!
> While you have R command window open waiting for the commands to be
> entered, the task manager shows 100% of CPU usage. When you type 'q()',
> while the program waits for you to answer whether you want to save the R
> image or not, the CPU usage drops immediately. Selecting 'Cancel' blows it
> back to 100%.
  This is due to the fact that this version of R isn't  event
  This should not give problems, i.e., the system should
  be able to run other tasks in parallel with R without problems;
  it should be also able to run more than one copy of R 
  at the same time sharing CPU resources. 
  Is this true?
  BTW, it depends in part also from how task manager measures CPU usage,
  i.we, the same console runned under Linux with the same event loop
  compares in the 'top' list (top lists all the processes active)
  as using 0% of the CPU.

r-help 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-help-request at stat.math.ethz.ch

More information about the R-help mailing list