[R] memory use without running gc()

Johann Hibschman jhibschman at gmail.com
Fri Aug 6 19:00:32 CEST 2010


Is there any way to get the current memory used by R without running
gc()?

I'd like to include the memory usage in logging output, but calling gc()
to get that information takes long enough to be noticeable (~ 6 s with ~
20 GB of ram in use), which goes against the point of logging.

Thanks,
Johann



More information about the R-help mailing list