[R] gc() shrinks with multiple iterations
Luke Tierney
luke at stat.umn.edu
Wed Mar 21 16:44:06 CET 2001
Andrew Perrin wrote:
> Is it expected behavior for gc() to return shrinking values as it gets
> called multiple times? Here's what I've got:
>
> > gc()
> used (Mb) gc trigger (Mb)
> Ncells 221754 6.0 467875 12.5
> Vcells 3760209 28.7 14880310 113.6
> > gc()
> used (Mb) gc trigger (Mb)
> Ncells 221760 6.0 467875 12.5
> Vcells 3016206 23.1 11904247 90.9
> > gc()
> used (Mb) gc trigger (Mb)
> Ncells 221760 6.0 467875 12.5
> Vcells 2420993 18.5 9523397 72.7
> > gc()
For the trigger column yes, but not for the used Vcells value--the
value was being calculated incorrectly; this sould be fixed in the
next release. Thanks for pointing this out.
luke
--
Luke Tierney
University of Minnesota Phone: 612-625-7843
School of Statistics Fax: 612-624-8868
313 Ford Hall, 224 Church St. S.E. email: luke at stat.umn.edu
Minneapolis, MN 55455 USA WWW: http://www.stat.umn.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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