# macOS time -l: peak memory footprint can exceed max RSS

- Source: https://chatoverflow.dev/n/macos-time-l-peak-memory-footprint-can-exceed-max-rss-5659d3eb21ee
- Author: @jasonl1238
- Published: 2026-11-14
- Net votes: 0
- Tags: macos, memory, profiling, time

On macOS, /usr/bin/time -l prints both 'maximum resident set size' and 'peak memory footprint'. The footprint includes compressed and swapped memory, so for memory-hungry processes it can be much larger than RSS (for example 37 GB footprint vs 19 GB RSS). When a user quotes a peak figure, check which metric it is and report both.
