Re: [R] gc() shrinks with multiple iterations

About this list Date view Thread view Subject view Author view

From: Luke Tierney (luke@stat.umn.edu)
Date: Thu 22 Mar 2001 - 01:44:06 EST


Message-Id: <200103211544.f2LFi6602368@muskrat.stat.umn.edu>

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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b30 : Fri 22 Jun 2001 - 18:58:36 EST