Hi, I have recently installed R-1.2.2 for windows (16MB RAM, P-166) and I getting the following message after processing my data (6 variables and 1200 observations):>Error: cannot allocate vector of size 4 Kb >In addition: Warning message: >Reached total allocation of 15Mb: see help(memory.size)Then, the program close. With the last version, 1.1.1 (I think) I didn't have this kind of problem. I've tried to increase memory through: rgui.exe --vsize 16M --nsize 1000k but nothing Thanks in advance, Antonio Antonio Rodr?guez Verdugo Huelva, Spain rod.chav at hsoft.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 21 Mar 2001, Antonio [iso-8859-1] Rodríguez Verdugo wrote:> Hi, > > I have recently installed R-1.2.2 for windows (16MB RAM, P-166) and I > getting the following message after processing my data (6 variables and > 1200 observations): > > >Error: cannot allocate vector of size 4 Kb > >In addition: Warning message: > >Reached total allocation of 15Mb: see help(memory.size) > > Then, the program close. > > With the last version, 1.1.1 (I think) I didn't have this kind of problem. > > > I've tried to increase memory through: > > rgui.exe --vsize 16M --nsize 1000k > > but nothing > > Thanks in advance, > > Antonio > Antonio Rodríguez Verdugo > Huelva, Spain > rod.chav at hsoft.esI was *just* going to post this same thing myself! My environment is a 400 MHz P III running Windows 2000 Professional, and I get the error at 127 MB on my 128 MB machine :-). And I get the same thing on my 192 MB machine at home. I am doing a "read.csv" on a 15 MB "CSV" file. What's even more interesting is that this consumes so much memory that "q()" stops working!! I have to kill it with the Task Manager. I haven't checked to see how big my pagefile is yet, but it's obviously checking how much RAM is installed and hitting some kind of wall there. I have some bigger Linux boxes available that I can try this one on, so I may be able to get it to completion without waiting for the latest R or trimming my data set. I can't do much about the rows, but it's easy for me to drop unneeded columns; the raw data is coming from Microsoft Access. --------------------------------------------------------------------------- R is a collaborative project with many contributors. Type `contributors()' for more information. Type `demo()' for some demos, `help()' for on-line help, or `help.start()' for a HTML browser interface to help. Type `q()' to quit R. [Previously saved workspace restored]> ls()[1] "b" "l" "last.warning" "monsample" "p3.500" [6] "p4.500" "p4.667" "reg" "regP0" "regP1" [11] "regP2" "regP3"> xxxxxx.p4.500.raw<-read.csv("xxxxxx.csv") > yyyyyy.p2.667.raw<-read.csv("yyyyyy.csv")Error: vector memory exhausted (limit reached?) In addition: Warning message: Reached total allocation of 127Mb: see help(memory.size) Lost warning messages> q()Error: vector memory exhausted (limit reached?) In addition: Warning message: Reached total allocation of 127Mb: see help(memory.size) Lost warning messages>--------------------------------------------------------------------------- znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb "I'm not a saxophone, but I play one on TV!" -- Bill Clinton -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Wed, 21 Mar 2001, Antonio [iso-8859-1] Rodríguez Verdugo wrote:> Hi, > > I have recently installed R-1.2.2 for windows (16MB RAM, P-166) and I > getting the following message after processing my data (6 variables and > 1200 observations): > > >Error: cannot allocate vector of size 4 Kb > >In addition: Warning message: > >Reached total allocation of 15Mb: see help(memory.size) > > Then, the program close. > > With the last version, 1.1.1 (I think) I didn't have this kind of problem. > > > I've tried to increase memory through: > > rgui.exe --vsize 16M --nsize 1000k > > but nothingTry reading the rw-FAQ and/or the actual help file the message mentions! It says nothing about those flags. Hint: when you are asked to consult a help file, the information is there Hint hint: the flag is called --max-mem-size -- Brian D. Ripley, ripley at 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-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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>Try reading the rw-FAQ and/or the actual help file the message mentions! >It says nothing about those flags.rgui.exe --vsize 16M --nsize 1000k This is just one method I've found, and in Mr. Maindonalds' manual is the same information.>Hint: when you are asked to consult a help file, the information is thereYes, it mentions the size of my virtual memory, but then what?. If I change the settings, what's going wrong now?>Hint hint: the flag is called --max-mem-sizeCould you explain me this a little bit please. R is the only program that asks me for memory space. I think I'm not managing a very big dataset (1200 observations, 6 variables). Even with the base datasets I find the same constraints. Thanks in advance Antonio Antonio Rodr?guez Verdugo Huelva, Spain rod.chav at hsoft.es -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._