Why is memory management in macOS more efficient than in Linux?
Solution 1:
Most of the efficiency comes from large blocks of read-only memory being shared between applications. Most graphical Mac applications use common frameworks. Where possible macOS only loads one instance of a framework into memory.
For more about macOS memory management and organisation see:
- How does memory management work in Mac OS X?
- What's the difference between Real, Virtual, Shared, and Private Memory?