What is resident memory (RSS) on a Mac?
Last reviewed: 19 November 2026.
Resident memory, or RSS (resident set size), is the amount of a process's memory that is in physical RAM at this moment. In Terminal, ps shows it in the rss column in kilobytes; Activity Monitor calls it Real Mem. It leaves out memory that has been compressed or swapped and counts shared libraries in every process that uses them, so it is not the best measure of how much memory an app costs.
How do you see RSS in Terminal?
ps -axo pid,rss,comm | sort -k2 -n -r | head -15
ps -o pid,rss,vsz,comm -p 1234 # 1234 is an example PID
The ps manual defines rss as the real memory (resident set) size of the process in 1024-byte units, so 204800 means 200 MB. The first command lists the 15 processes with the most resident memory. top sorts by mem instead, which is a different measure: its manual calls it the physical memory footprint.
Why can RSS be lower than the Memory column?
When macOS compresses idle data of a process, those pages are no longer resident in the process, so RSS falls, even though the data still exists and still costs memory in the compressor. A process that has sat in the background for a while can show an RSS far below its footprint.
To see the difference for one process, compare the two figures:
ps -o rss= -p 1234
footprint 1234 | head -3
Why can RSS be higher than what an app really uses?
Pages shared between processes, such as system frameworks and memory-mapped files, are counted in the RSS of every process that has them in RAM. Adding up RSS across processes counts those pages many times, so the sum can exceed the RAM installed. Clean pages read from files also count, although macOS can drop them at any time and read them again later.
When is RSS useful?
It is available for every process, including root's, without administrator rights, and it is the same measure on Linux and other Unix systems, so scripts and tools use it widely. For deciding which app to quit on a Mac, the physical footprint, shown by top's MEM column and footprint, is closer to what the app costs.
How can Thrum help?
Thrum's Memory tab shows memory pressure, swap, and the eight processes using the most memory. An optional alert tells you when memory pressure turns critical.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions
What does RSIZE mean?
It is an older name for resident size. Activity Monitor's Real Mem column is labelled Real Memory (RSIZE) in its column menu.
Is %MEM in ps based on RSS?
Yes. The ps manual describes %mem as the percentage of real memory used by the process.
Sources
- ps(1), top(1) and footprint(1) man pages: run man ps in Terminal