[R] memory allocation
Huntsinger, Reid
reid_huntsinger at merck.com
Wed Sep 18 18:46:43 CEST 2002
I don't have an R on Windows but I think the memory limits are specified in
bytes, not megabytes. That's the case for mem.limits at least, as well as
the --max-vsize option.
Reid Huntsinger
-----Original Message-----
From: Yang, Richard [mailto:dyang at nrcan.gc.ca]
Sent: Wednesday, September 18, 2002 9:55 AM
To: R-Help (E-mail)
Subject: [R] memory allocation
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
_._
------------------------------------------------------------------------------
Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may be confidential, proprietary copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please immediately return this by e-mail and then delete it.
==============================================================================
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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