Yes, since at least Windows Vista it's been very aggressive about caching into free RAM. It isn't complained about that often because Windows counts that RAM as "standby" RAM together with free RAM.
Where does it indicate that?
2. "app memory", "wired memory", and "cached files" added together exceeds "memory used", suggesting that not all of them can make up "used memory".
3. apple's own docs: https://web.archive.org/web/20200415041837/https://support.a...
3 isn't in the screenshot, but does vaguely imply cached and app memory are different. It doesn't directly say whether cached is counted in memory used though.
The linked "for more information" makes it less clear. For example, how does purgeable memory fit into the "app memory" "wired memory" and "cached files" distinction?
In another post you mention having ten tabs opening and the system freezing. If that's happening, there's probably a memory issue. I'm not sure Mac's resource monitor showing ~half your memory "used" means there is a problem.
I'm not sure what exactly you mean by "purgeable memory", because it hasn't been referenced earlier in this comment chain, and it's not in the OP either. My guess is that of the things listed, only "cached files" can be quickly freed if more memory is needed. You can technically "purge" app memory by compressing/swaping out to disk, but that's much more expensive.
>For more information about memory management, refer to the Apple Developer website.
http://developer.apple.com/library/mac/documentation/Perform...
Can this be substantiated? "the system is greedy at allocating RAM and will release it to higher priority processes as they request it" is cold comfort to someone with 10 chrome tabs open and the system freezing up as a result.
Sort of. Use the `memory_pressure` CLI tool. You can use it to just simulate a critical memory warning and you’ll immediately see the system free up a lot of RAM.
In macOS parlance the key metric is “memory pressure”. From the tweet’s screenshot you can see memory pressure is only about 20%.
I searched around[1][2] and it's unclear how the chart is actually derived. It should therefore be treated with suspicion, along with other opaquely defined metrics like wework's "community EBITDA".
[1] https://apple.stackexchange.com/questions/202744/what-is-mem...
[2] https://web.archive.org/web/20200415041837/https://support.a...
Interesting. That'll probably mean it's in the source code Apple publishes for macOS:
https://github.com/apple-oss-distributions/distribution-macO...
Doing a search for the phrase "memory pressure" in the containing organisation (apple-oss-distributions) shows some relevant stuff:
https://github.com/search?q=org%3Aapple-oss-distributions+%2...
• memorystatus.md : https://github.com/apple-oss-distributions/xnu/blob/94d3b452...
# Memorystatus Subsystem
Dealing with memory pressure by forcibly recovering pages.
(etc)
• memory_pressure.1 : https://github.com/apple-oss-distributions/system_cmds/blob/... Looks like the man page for a `memory_pressure` command
• freezer.md : https://github.com/apple-oss-distributions/xnu/blob/94d3b452... # Freezer
Details of how some processes can be swapped out to disk.
[...] The freezer is a limited form of swap on embedded. Under memory pressure,
the freezer picks apps to freeze.
(etc)
And a whole bunch more. With some digging, it should be possible to find the exact info. :)