mem_max: maximum memory usage

Description Usage Arguments Details Value

View source: R/memory_usage.R

Description

measure R session's maximum memory usage after the last gc(reset = TRUE) call

Usage

1
mem_max(unit = "MB")

Arguments

unit

A string, either "MB"(Default) or "GB"

Details

Do garbage collection and check maximum memory usage

Value

A number indicating memory usage in MB (or GB)


talegari/sidekicks documentation built on Sept. 26, 2018, 4:18 p.m.