Closed corentinjuvigny closed 6 months ago
Same observation here on MacOS.
Me too on MacOS Ventura x86_64. OS Version: Ventura 13.6.6 22G630 Kernel Version: 22.6.0
@corentinjuvigny @nicolasbauw @k2662
See #291
When using btop on Mac OS and run a program that is very large I get first a yellow then red indication in the activity monitor. Going into the red slows down the system and will make programs force close. These colors are based on how small the gap between "Physical Memory" and "Memory Used" is. The color is actionable to me and I start closing apps or wait for something to finish before I launch something else.
With btop, even when the Mac OS activity monitor is red, all looks good, like 50% available and I don't see any threshold that I need to keep an eye on.
How do other Mac OS users interpret what btop shows?
Describe the bug
Quantity of RAM used is vastly underestimated by btop on MacOs compared with what the activity monitor actually reports.
To Reproduce
Launch a program using a huge quantity of RAM (surpassing the physical quantity of RAM of the computer, forcing it to use swap memory). In my case I notice the bug while launching cplex, that can reach 50G of memory consumption for 18G of physical RAM.
Expected behavior
Both btop and the macos activity monitor should indicate the same amount of RAM used.
Screenshots
Info