measure R session's maximum memory usage after the last gc(reset
= TRUE) call
mem_max(unit = "MB")
Arguments
unit |
A string, either "MB"(Default) or "GB" |
Value
A number indicating memory usage in MB (or GB)
Details
Do garbage collection and check maximum memory usage