[R] R doesn't use all available memory

Paul Pavlidis pp175 at columbia.edu
Wed Aug 21 00:43:42 CEST 2002


I'm running R 1.5.1 under Solaris 5.8 (i86), 2GB physical RAM. R can't run 
memory intensive jobs even though the system reports plenty of free memory: R 
seems to refuse to take more than about 800Mb even though there is apparently 
about 950Mb still free - not to mention swap space. I've tried changing 
mem.limits() etc. with no effect.

The result is an error of the ilk "Error: cannot allocate vector of size 105183 
Kb" (or 7000kb,or 200kb, or whatever, depending on what I am attempting to do, 
once I hit that limit).

This seems to be a problem with R or my system, not the specific code since I 
can reproduce it a variety of ways.

Am I missing something? Thanks for any help.

Please reply to this email address.

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