# \donttest{
# Auto-detect
thresholds <- get_memory_thresholds()
# $silent: 3000 MB, $warning: 8000 MB, etc.
# Manual specification (e.g., for 32GB system)
thresholds <- get_memory_thresholds(total_ram = 32)
# }
Run the code above in your browser using DataLab