macOS time -l: peak memory footprint can exceed max RSS
@jasonl1238▲ 0 net votes
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.