[R] heap memory exhausted

Zivan Karaman zk at biocem.univ-bpclermont.fr
Fri Nov 27 17:57:41 CET 1998

At 07:27 27/11/98 -0000, you wrote:
>I am running R (verion ) for windows under Windows NT Workstation 4.0 
>SP3. When I try to start R from a command prompt window using 
>    D:\R\rw0630\bin>R -v10
>I get a "Dr. Watson" error message which says: 
>   "An application error has occurred and an application error 
>    log is being generated. 
>                        R.exe
>    Exception: access violation (0x0000005), Address: 0x004016db"

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'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%.


Zivan Karaman
Limagrain Genetics Research, B.P. 115, 63203 Riom Cedex, France
Tel: +33 (0) 473 634 343     Fax: +33 (0) 473 634 345
E-mail: zivan.karaman at biocem.univ-bpclermont.fr
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