Why is Linux using so much RAM?
Because it can (and should)
I almost forgot about this and thought I’d write it down as it bears repeating:
Linux repurposes unused memory for disk caching. When looking at output for free
, this can confuse admins who aren’t familiar with this practice.
For a thorough and fantastic explanation, check out LinuxAteMyRam.com.
One additional thing that’s worth noting – depending on the age of the OS you’re looking at, the output of free
may have different info:
See the available
column at the end? That’s the stat you want to pay attention to.
On older OS\s, you’ll want to look at the free
column but for the -/+ buffers/cache
line. For example:
In this case, the system actually has 4858 MB of RAM available to use. Nifty, huh.