That is normal. With most UNIX and UNIX based operating systems, like Mac OS X, free memory is wasted memory.
So using 7.95 gb of ram with just Safari and iTunes open is okay?
Yes. Just look at the swap usage, if it is actually hitting your disk, then you have a problem. If not, then don't worry about it. OS X will release memory as needed to open your other apps.
Open your other apps and look at the RAM usage, it'll adjust.
On my iMac with 32GB, only 7 tiny apps (only using up to 800MB combined) will put 10GB of memory to the used section.
My says "Swap Used 0 bytes)
So using 7.95 gb of ram with just Safari and iTunes open is okay?
The RAM doesn't just have what IS open in it, it has as much of was HAS been opened since the last reboot in it - just in case you want it again.
If you need to open a new app, it will free up RAM to do so, but if you want to reopen an app you have had previously open, it will just run it from the copy already in RAM.
It isn't like windows where only what is running is in RAM, keeping a bunch of RAM empty...for no purpose.
Gotcha! If you couldn't tell I just switch from Windows.
It doesnt matter if you've just rebooted or not, the OS will swallow 7GB to just put up a screen and safari. Its become very bloated now.
It doesnt matter if you've just rebooted or not, the OS will swallow 7GB to just put up a screen and safari. Its become very bloated now.
The RAM doesn't just have what IS open in it, it has as much of was HAS been opened since the last reboot in it - just in case you want it again.
If you need to open a new app, it will free up RAM to do so, but if you want to reopen an app you have had previously open, it will just run it from the copy already in RAM.
It isn't like windows where only what is running is in RAM, keeping a bunch of RAM empty...for no purpose.
It's too late to duck, but the entire thread just went over your head.
Even then there is no problem. Swapping is actually quite normal. There are apps that will use it and there are times when things will swap out to save memory. You should see an increase in swap when you leave your computer running for several days (put the machine to sleep rather than shutting it down), even when there is free memory. It's part of memory management in an OS.Yes. Just look at the swap usage, if it is actually hitting your disk, then you have a problem.
Even then there is no problem. Swapping is actually quite normal. There are apps that will use it and there are times when things will swap out to save memory. You should see an increase in swap when you leave your computer running for several days (put the machine to sleep rather than shutting it down), even when there is free memory. It's part of memory management in an OS.
As of Mavericks you need to look at the memory pressure. If that graph is green everything is ok, if different then you have a problem and does it warrant to worry.
There are apps that will use it
Sorry, no. Swapping should be minimized as much as possible especially if you're on SSD. If you're right, then there is zero point of OS X having the compression technologies and no need to worry about memory leaks.
Swapping is a backup to your memory, it should be not used to extend your memory. You're not only harming your drives but also your overall performance.
If the OS is swapping then it has run out of better options and performance is starting to degrade.
There are scenarios where swapping is the optimal strategy. For instance, if you have a low-priority, background-running (non-UI) application. Imaging for example an indexing daemon. It starts up periodically, does its thing and goes back to sleep. It would be wasteful to keep it in RAM all the time (even if you have a lot of it), but it is also not very efficient to relaunch it from scratch every time it starts. Swapping it to the disk when its paused is the best way to achieve high performance and high efficiency, with optimal resource utilisation. Note: I have no idea whether OS X actually works that way. But that is what would make sense to me.
Last comment is very outdated.
If you have enough RAM it is never "wasteful" to keep data there, what would you be wasting?
If you don't have enough RAM for the processes you want to run then swapping is part of a memory management strategy for the OS but trust me, it is never optimal to swap when there is any other option.
Excellent - yes it would be outdated, haven't bothered keeping up with windows memory management since XP pushed me across to OSX.
Glad to see all OS' agree that empty RAM is wasted - just the algorithms differ on what to fill it with....thanks for the clarification
Interesting to note a high proportion of currently-moving-to-OSX ex-Win users have the same misunderstanding of current windows behaviour (hence asking about OSX running full memory). I guess Microsoft didn't do a good job of selling that change to the general user-base, or they are migrating from XP-era versions....
Or friends with Macs are filling them full of misinformation about the "benefits" of moving to OS X! Joking, of course. I think people get in these forums and start tinkering without reading much background info. They worry about stuff they don't understand and start making changes to fix problems that don't exist. As an example, it doesn't really matter what the problem is but you can be assured someone will suggest resetting SMC and PRAM, and repairing permissions.
I'm not suggesting everyone needs to understand memory management but I think they should read up on it a bit if they are going to spend time worrying about it or take some kind of "corrective" action like using memory cleaners or needlessly killing processes.
Swap is absolutely NOT a backup to your memory and it certainly isn't in OS X. Swap is just memory on disk and it is quite useful. Why? Because it frees up actual memory. It is something that is heavily used in virtualisation products because it makes far more efficient use of memory than without it. Swap is more like a parking lot where you can park stuff that you don't quite actively use. Similar to App Nap.Swapping is a backup to your memory, it should be not used to extend your memory. You're not only harming your drives but also your overall performance.
In general yes but not in OS X and not with certain applications or in the virtualisation world.And no, your swap usage should NOT be increasing in any conditions. That's an inefficient memory management if your swap is increasing over time. If it is increasing, it means you need more memory or shut down your apps more often. Also a sign of serious memory leaks.
What you are describing is only part of the story. Memory management is not something that is only done by the OS for very obvious reasons. The app knows about its memory, the OS doesn't and vice versa. Therefor they have to work together. That's why apps can use more memory than they need and why they return memory when other apps need it more. And that's also why they are able to swap. The app requests the OS to swap.Apps don't use swapping, they know nothing about it.
Swapping/paging is an OS activity used as part of the OS' memory management, if it has a better solution (more RAM or compression), it will use it to keep performance up. If the OS is swapping then it has run out of better options and performance is starting to degrade.
And because of that about 99% of the people here have the same misunderstanding of memory management. Memory management is done differently in the non-Windows world. Windows has been catching up to that as of Windows 7 (and they did a great job). However, the knowledge about memory being used as little as possible and the same for swap is just outdated. We have moved on years ago.Interesting to note a high proportion of currently-moving-to-OSX ex-Win users have the same misunderstanding of current windows behaviour (hence asking about OSX running full memory). I guess Microsoft didn't do a good job of selling that change to the general user-base, or they are migrating from XP-era versions....