Subject: Error: cannot allocate vector of size 554 Kb X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid Reply-To: fjmolina at lbl.gov FCC: ~/mail/sent Does anyone know how I can avoid this error? Error: cannot allocate vector of size 554 Kb I think my computer should have enough memory to allocate such vector. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 Mon, Nov 18, 2002 at 01:05:30AM -0800, Francisco J Molina wrote:> Subject: Error: cannot allocate vector of size 554 Kb > X-Mailer: VM 7.00 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid > Reply-To: fjmolina at lbl.gov > FCC: ~/mail/sent > > > Does anyone know how I can avoid this error? > > Error: cannot allocate vector of size 554 Kb > > I think my computer should have enough memory to allocate such vector.I'm assuming from the FCC header that you're on some sort of Unix-like system, but I've no idea if that's what you do your R work on. What follows is for Unix(ish) systems. 1) 554 Kb is just the most recent request to allocate more memory; there might've been a lot of memory grabbed by R before that. 2) If that's not the problem, get your system administrator to increase your memory quotas (man ulimit should clarify). Cheers Jason -- Indigo Industrial Controls Ltd. 64-21-343-545 jasont at indigoindustrial.co.nz -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hi,> Does anyone know how I can avoid this error? > > Error: cannot allocate vector of size 554 KbI assume that you are using R under windows. Try functions memory.size() and memory.limit(). The first will show how much memory R uses and the second will set the maximum memory size R can use. Something like memory.limit(512) will do the trick. It tells R that it can use up to 512MB of memory. Do ?memory.limit for more details. I think that these functions are only in R build for Windows. If you can't avoid using a lot of memory I shoud advise you (based on my personal experience) to use R under Linux. Vaidotas Zemlys -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._