[R] Could I release some memory?
ripley@stats.ox.ac.uk
ripley at stats.ox.ac.uk
Tue Jun 4 11:53:52 CEST 2002
On Tue, 4 Jun 2002, ken_lee wrote:
> Dear all,
> If I have been using a large memory, Could I have any command to release?
> Like tmp<-scan(file="a.data") #a.data maybe > 10mb
> at first, I think tmp<-NULL should be release some memory,but it is not any help.
rm(tmp)
gc()
The last is what `releases' the memory, but it may not release it to
your OS: that is system-specific.
--
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list