[R] memory allocation

Yang, Richard dyang at nrcan.gc.ca
Wed Sep 18 15:54:58 CEST 2002


Dear all;

	I  experienced a memory allocation error while running gnls:

> wBlplfe.wc <- update(wBlplfe.w, corr=corAR1())
Error: cannot allocate vector of size 37950 Kb
In addition: Warning message: 
Reached total allocation of 256Mb: see help(memory.size) 

	Increased memory limit to 512, 640 M, the allocation error
persisted:

> memory.limit(512)
NULL
> wBlplfe.wc <- update(wBlplfe.w, corr=corAR1())
Error: cannot allocate vector of size 37950 Kb
> memory.limit(640)
NULL
> wBlplfe.wc <- update(wBlplfe.w, corr=corAR1())
Error: cannot allocate vector of size 37950 Kb

	I have 1.3 GB memory. The windows task manager indicates that I used
666,956K out of 1,749,592K real and virtual memory. Using memory.limit()
does not seem to solve the memory allocation issue. Any suggestion to solve
the allocation problem? I'm using R 1.5.1 on W2K.

	TIK,

Richard


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