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

lawhochun

macrumors member
Original poster
Oct 24, 2012
47
15
Hong Kong
I use the handy "Clean Memory" tool for my 2012 iMac to monitor my remaining ram figure. I noticed after installing Mavericks that my remaining RAM figure is always dramatically lower than when I was using mountain lion.

Maybe it's still in beta 2 or its the new memory compression feature that is causing the "Clean Memory" tool giving off false readings...

Anybody experiencing this issue?
 
Isn't used RAM a good thing? I'd rather have all my RAM used, no matter how much I have installed. This should result in a more responsive system. Unused RAM is the same as RAM sitting in a closet somewhere.

Page outs are what need to be avoided. Mavericks is supposed to compress RAM if another app needs some quickly thus avoiding page outs.

Have you checked to see if Mavericks is paging out frequently?
 
Isn't used RAM a good thing? I'd rather have all my RAM used, no matter how much I have installed. This should result in a more responsive system. Unused RAM is the same as RAM sitting in a closet somewhere.

Page outs are what need to be avoided. Mavericks is supposed to compress RAM if another app needs some quickly thus avoiding page outs.

Have you checked to see if Mavericks is paging out frequently?
Thanks for the response. Since Activity Monitor in 10.9 no longer lists page in/out...I'm not sure how to tell.

I also have 10.9 running on my MacBook Air and I'm experiencing the same thing plus it's started using the swap file periodically. (Never happened w/10.8)

I've read up on the new memory compression feature, but only know enough to be dangerous. This article seems to explain it fairly well, but again, not sure how I feel about most of my free memory being "used" when no major apps are running.
 
Thanks for the response. Since Activity Monitor in 10.9 no longer lists page in/out...I'm not sure how to tell.

I also have 10.9 running on my MacBook Air and I'm experiencing the same thing plus it's started using the swap file periodically. (Never happened w/10.8)

I've read up on the new memory compression feature, but only know enough to be dangerous. This article seems to explain it fairly well, but again, not sure how I feel about most of my free memory being "used" when no major apps are running.

I must have missed the dangerous part :p
 
Thanks for the response. Since Activity Monitor in 10.9 no longer lists page in/out...I'm not sure how to tell.

I also have 10.9 running on my MacBook Air and I'm experiencing the same thing plus it's started using the swap file periodically. (Never happened w/10.8)

So not so good if it's using the swap file when ML didn't. That's clearly not Apple's intent. It's a cop out to say it's beta software but then again... This is our chance to let Apple know about problems.
 
While there may or may not have been issues with memory management in 10.7 and 10.8: all accounts seem to suggest that more data is being cached in memory in 10.9. So, if you have memory, it will get used. The end result seems to be that performance is improved.

There is no need to spend all day checking the memory usage. I wouldn't be surprised if Apple has changed Activity Monitor BECAUSE of all the people saying "OMG, my computer has Inactive RAM!!!".

If you think you have a particular problem with memory handling, then report it.
 
Performance in 10.9 has increased dramatically for me.

RAM is supposed to be used, it isn't Windows, where you have 8GB and you can't even go past 2GB of RAM usage.
 

Attachments

  • TinyGrab Screen Shot 6-30-13, 12.29.23 AM.png
    TinyGrab Screen Shot 6-30-13, 12.29.23 AM.png
    182.1 KB · Views: 621
Performance in 10.9 has increased dramatically for me.

RAM is supposed to be used, it isn't Windows, where you have 8GB and you can't even go past 2GB of RAM usage.

So not so good if it's using the swap file when ML didn't. That's clearly not Apple's intent. It's a cop out to say it's beta software but then again... This is our chance to let Apple know about problems.

Although I haven't seen a performance boost (or drop off) with 10.9 on the two machines I have it on, agreed. As long as the change in memory usage is not not impacting performance in a negative way, I really don't mind how it's being used. However when usage doubles over the previous OS and the system starts using the swap file to get work done, it may not be a positive sign.
 
For me it constantly rides right up to about 7.99 / 8 GB. I don't mind this in theory but it ends up getting swapped out occasionally. Nothing dramatic though usually just a few megabytes of swap here and there, hasn't actually caused me any issues.
 
Performance in 10.9 has increased dramatically for me.

RAM is supposed to be used, it isn't Windows, where you have 8GB and you can't even go past 2GB of RAM usage.

Ugh man, I hate reading this stuff here. It reflects EXTREMELY poorly on the Mac community.

Windows is incredibly efficient with RAM, it does exactly what people here describe. It uses it as a big cache. You can have Windows installed on a Mechanical hard drive and Office explodes onto screen while your dock icon for any tiny program will bounce and bounce and bounce with the same hardware.

Where the heck do you get that 2gb comment from? I dare you to look up the amount of RAM Win 8 pro can use, vs. OSX 10.9. Seriously. I don't think you'll like the result though.
 
This command in a Terminal window:
Code:
vm_stat
Man page here:
https://developer.apple.com/library/mac/documentation/darwin/reference/manpages/man1/vm_stat.1.html

There may be some changes in vm_stat under Mavericks.
You can use top -u to show you processes running and memory usage.

Many thanks!

So with Safari and a couple of other low-demand apps running, here's what I get:

Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 330046.
Pages active: 539515.
Pages inactive: 130699.
Pages speculative: 406574.
Pages throttled: 0.
Pages wired down: 165793.
Pages purgeable: 18928.
"Translation faults": 10918827.
Pages copy-on-write: 370545.
Pages zero filled: 8763601.
Pages reactivated: 33.
Pages purged: 0.
File-backed pages: 628256.
Anonymous pages: 448532.
Pages stored in compressor: 0.
Pages occupied by compressor: 0.
Decompressions: 0.
Compressions: 0.
Pageins: 144634.
Pageouts: 0.
Swapins: 0.
Swapouts: 0.

According to Activity Monitor 4.76GB of 6GB is being used.

Page outs are what need to be avoided. Mavericks is supposed to compress RAM if another app needs some quickly thus avoiding page outs.

Have you checked to see if Mavericks is paging out frequently?
So based on zero page outs, things may appear to be normal if the memory compression 10.9 is now using accounts for the additional memory usage.
 
Last edited:
Performance in 10.9 has increased dramatically for me.

RAM is supposed to be used, it isn't Windows, where you have 8GB and you can't even go past 2GB of RAM usage.
Ugh man, I hate reading this stuff here. It reflects EXTREMELY poorly on the Mac community.

Windows is incredibly efficient with RAM, it does exactly what people here describe. It uses it as a big cache. You can have Windows installed on a Mechanical hard drive and Office explodes onto screen while your dock icon for any tiny program will bounce and bounce and bounce with the same hardware.

Where the heck do you get that 2gb comment from? I dare you to look up the amount of RAM Win 8 pro can use, vs. OSX 10.9. Seriously. I don't think you'll like the result though.

Got to agree on that one. If anything Windows has had better use of memory than OSX for some time. I think Prabas was probably thinking of the active memory that task manager reports which doesn't generally go above about 3GB.

pPpPyqR.png


Many thanks!
So based on zero page outs, things may appear to be normal if the memory compression 10.9 is now using accounts for the additional memory usage.

Memory compression is a faster alternative to paging out memory.

*I think* the purpose of it is to allow for more aggressive memory usage and if the system can't handle moving inactive memory out fast enough when new memory is needed it will compress some inactive cached memory rather then page that memory out to your disk.
 
Ugh man, I hate reading this stuff here. It reflects EXTREMELY poorly on the Mac community.

Windows is incredibly efficient with RAM, it does exactly what people here describe. It uses it as a big cache. You can have Windows installed on a Mechanical hard drive and Office explodes onto screen while your dock icon for any tiny program will bounce and bounce and bounce with the same hardware.

And statements like this reflect just as poorly on the Windows community. It is horrifically false in all but the very old Macs trying to run newer software, and if you think that Windows would be any different under the same circumstance you are fooling yourself.

The simple fact that people still use memory cleaners to make sure the bare minimum of RAM is used shows a profound misunderstanding of proper memory management. Unused RAM = Wasted RAM. And that's it. Optimally, the OS will load everything it can, starting with most important/most often accessed items, into ram, and swap out as needed.
 
Memory compression is a faster alternative to paging out memory.

*I think* the purpose of it is to allow for more aggressive memory usage and if the system can't handle moving inactive memory out fast enough when new memory is needed it will compress some inactive cached memory rather then page that memory out to your disk.
Sounds good. I'll continue to focus on performance while keeping an eye on swap file usage. The MacBook Air has always been phenomenal, while the iMac reached a new level of "wow" since I installed the SSD.

Although there have been a few oddities that I'm almost certain will be ironed out, 10.9 has been quite good overall. Both DP1 and DP2 have been much smoother than the previous OS X previews IMHO. I'm very pleased so far.
 
Clean memory and similar tools do nothing.
I'm not using more ram.

I use the handy "Clean Memory" tool for my 2012 iMac to monitor my remaining ram figure. I noticed after installing Mavericks that my remaining RAM figure is always dramatically lower than when I was using mountain lion.

Maybe it's still in beta 2 or its the new memory compression feature that is causing the "Clean Memory" tool giving off false readings...

Anybody experiencing this issue?
 
Performance in 10.9 has increased dramatically for me.

RAM is supposed to be used, it isn't Windows, where you have 8GB and you can't even go past 2GB of RAM usage.

That doesn't accurately describe Windows behavior. It reflects fanboy mentality where MS is the boogie man. I've used both operating systems for years. It does make use of memory. What annoyed me was more during Lion where I wouldn't have that much stuff open, yet at times it would refuse to free up ram. Over a couple days of not rebooting, it might build up in excess of 20GB worth of pageouts. Notice how I don't tout that as simply being the way things are when you use a particular OS. I merely mention the anecdote here. You could learn many things:p.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.