Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

While viewing the reports of htop, I would like to know what the orange/brown 'cached memory' bars actually indicate. Really I'm looking for a more practical explanation of what I'm looking at, rather that pure CS terms. Though I'd like to have both.

When I see a large amount of memory being (having already been?) cached, will that have any effect on system performance? What would normally cause the cached memory to increase so much while the used memory (green) stays pretty low?

Here is a screen capture of an example htop report. enter image description here

share|improve this question

1 Answer 1

up vote 6 down vote accepted

cached memory is used so that the HDD doesn't have to be read each time you open a file or a folder. So when you cache something it saves a disk read, that saves time and that's why Ubuntu caches as much as possible.

Having free memory isn't really good since it's not used, having cached memory will make access times shorter and improves performance. so the cached memory can be viewed as free memory since it's not actually used by any program it's just there to be as a backup of what could be used.

Cached memory + free memory is the same as the available memory, since the cached memory will be cleared if a program needs the space. So having lots of RAM will increase performance of Ubuntu in general if you are using RAM heavy programs.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.