Description Usage Arguments Value See Also Examples
GC performs garbage collection until free memory indicators show no change.
1 |
verbose |
[logical]: if |
reset |
[logical]: if |
GC returns a matrix with rows Ncells (_cons cells_), usually
28 bytes each on 32-bit systems and 56 bytes on 64-bit systems,
and Vcells (_vector cells_, 8 bytes each), and columns
used and gc trigger, each also interpreted in megabytes
(rounded up to the next 0.1Mb).
If maxima have been set for either Ncells or Vcells, a
fifth column is printed giving the current limits in Mb (with NA
denoting no limit).
The final two columns show the maximum space used since the last
call to GC(reset=TRUE) (or since R started).
The R Internals manual.
Memory on R's memory management, and gctorture if you are an R
developer.
reg.finalizer for actions to happen at garbage collection.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.