Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

elf69

macrumors 68020
Original poster
Jun 2, 2016
2,333
489
Cornwall UK
I have and love my old 2010 macbook.

I recently upgraded the RAM to 8GB from 4GB.

With 4GB the monitor app showed 3.36GB ram used but only 2.4GB in use by apps. with varying swap file

Now have 8GB monitor app shows 5.36GB ram used with 4.11GB used by apps. but no swap file.

Same apps open as usual here at work.

Not causing a problem but why use more ram?
it because with more ram it needs to empty it less often so appears to use more than before as more spare ram to play with.

just curious.

Machine running much smoother with 8gb and less pausing and beachballs than with 4gb not that had too many before but I am happier now how it runs.
 

maflynn

macrumors Haswell
May 3, 2009
73,682
43,740
Not causing a problem but why use more ram?
Basically free ram is wasted ram, so OS X has more memory to use and it does. No swap file is a really good thing since disk space is much slower then ram, so when the system keeps more information in ram, the better you are.
 
  • Like
Reactions: jgelin

keysofanxiety

macrumors G3
Nov 23, 2011
9,539
25,302
As a general rule of thumb since at least Snow Leopard: the more RAM OS X has at its disposal, the more it'll utilise/cache to speed up application launches and increase general performance.

It has much better memory mamangement than Windows... where you're screaming for it to use the extra 8GB RAM you've just put in, yet it insists on partly paging to disk first when opening every single application. I've got the RAM free, Windows!! So much available! Just throw the application into there! (ノಠ益ಠ)ノ彡┻━┻

(sorry, got a bit derailed)
 

elf69

macrumors 68020
Original poster
Jun 2, 2016
2,333
489
Cornwall UK
thanks guys.

surprising the difference really 4 to 8.

boot is faster and zero pauses and beachballs so far.
 

Daniel Reed

macrumors 6502
Sep 9, 2016
278
284
San Francisco
thanks guys.

surprising the difference really 4 to 8.

boot is faster and zero pauses and beachballs so far.

What really surprising is the faster Sierra experience by moving from 16GB to 32GB w/ the same number of total memory modules. For me, 10.12.2 seems optimized for 32GB & 64GB memory configurations.
 

h9826790

macrumors P6
Apr 3, 2014
16,656
8,587
Hong Kong
TBH, I really don't know how Sierra managing RAM. The following capture is my normal usage.
Screen Shot 2017-02-22 at 05.28.02 copy.jpg

Memory pressure in green. More than 20GB is using as cache (usually around 24GB). However, also have ~9GB swap in use (it usually vary at 10GB level). I am not complaining anything. Just feeling interesting that the system choose to use 10GB swap but not release some RAM from cache.
 

robeddie

Suspended
Jul 21, 2003
1,777
1,731
Atlanta
TBH, I really don't know how Sierra managing RAM. The following capture is my normal usage.
View attachment 689554
Memory pressure in green. More than 20GB is using as cache (usually around 24GB). However, also have ~9GB swap in use (it usually vary at 10GB level). I am not complaining anything. Just feeling interesting that the system choose to use 10GB swap but not release some RAM from cache.

Agreed! I see this kind of thing occasionally as well. I'd love to hear what all these 'experts' who say mac os is so great at memory managment when you have gobs of ram, plenty of free ram, and it still occasionalliy swaps to disk. In your case, 10gb of swap!!!
 

KALLT

macrumors 603
Sep 23, 2008
5,380
3,415
Agreed! I see this kind of thing occasionally as well. I'd love to hear what all these 'experts' who say mac os is so great at memory managment when you have gobs of ram, plenty of free ram, and it still occasionalliy swaps to disk. In your case, 10gb of swap!!!

Swap is not undesirable and certainly not avoidable, unless you want your system to force-quit programs (like on iOS) or grind to a halt. The system does not throw out data from memory until it actually needs to, it will prefer to manage the available memory instead and cache, compress or write to disk as needed, based on what the user and the system require. Paging out is just one of the tools it has at its disposal, just as maintaining a large cache of inactive memory is.

In my opinion, the system does a very good job at preventing memory-related slow downs and using the available memory for responsiveness.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.