Hi,
it looks like my work iMac under 10.11.6 (but I observed this since 10.9, I think) did not get the memo about memory compression...
Every article/thread I saw about it, people always show "oh look it compressed 5Gigs and swapped 2Megs... it just works... the best out there... yadda yadda..." and other people freak out over 2Gigs swap with 8Gigs of ram.
On my system (16 RAM, 256 SSD) it's the other way around: currently I have 33Gig swap and 5Megs of compressed memory. And while my swap can reach 50Gigs or so before sh*t hit's the fan and the system is unresponsive, I've never seen my compressed memory go over something like 200MB.
Granted, it's my work machine, so I have a couple of things open all the time (Chrome/Office/Atom/Terminals) and I prefer putting it to sleep over shutting down to win some time. But... the swap keeps growing even while the system sleeps: I'd leave it with 25GB swap for the night, in the morning I'll have 30GB.
I try killing stuff to reduce the usage but it slowly grows over days/weeks until the system can't handle it anymore and I have no other choice than a reboot (that's where I tend to install my updates that require closing/rebooting everything, I even put them off for later on purpose because I know the swap will force me at some point).
So is there something missing or it considers the SSD faster than compression or... ?
Thanks guys
it looks like my work iMac under 10.11.6 (but I observed this since 10.9, I think) did not get the memo about memory compression...
Every article/thread I saw about it, people always show "oh look it compressed 5Gigs and swapped 2Megs... it just works... the best out there... yadda yadda..." and other people freak out over 2Gigs swap with 8Gigs of ram.
On my system (16 RAM, 256 SSD) it's the other way around: currently I have 33Gig swap and 5Megs of compressed memory. And while my swap can reach 50Gigs or so before sh*t hit's the fan and the system is unresponsive, I've never seen my compressed memory go over something like 200MB.
Granted, it's my work machine, so I have a couple of things open all the time (Chrome/Office/Atom/Terminals) and I prefer putting it to sleep over shutting down to win some time. But... the swap keeps growing even while the system sleeps: I'd leave it with 25GB swap for the night, in the morning I'll have 30GB.
I try killing stuff to reduce the usage but it slowly grows over days/weeks until the system can't handle it anymore and I have no other choice than a reboot (that's where I tend to install my updates that require closing/rebooting everything, I even put them off for later on purpose because I know the swap will force me at some point).
So is there something missing or it considers the SSD faster than compression or... ?
Thanks guys