Skip to contents

Reports the current memory usage of the R session.

Usage

mem_usage(units = "MB", include_gc = FALSE)

Arguments

units

Units for reporting memory usage ("MB", "GB", or "KB")

include_gc

Logical, whether to run garbage collection before measuring

Value

Named list with memory usage information