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.

It's show on system indicator, I found solution in ubuntuforum to use command sudo echo 3 | sudo tee /proc/sys/vm/drop_caches

It's work, but why my ubuntu not handle by itself?

share|improve this question
    
This ubuntuforums post? –  pydave Jul 18 '11 at 16:13
add comment

1 Answer

up vote 3 down vote accepted

The cache has nothing to do with running programs. The cache is memory that is otherwise unused, so it is instead used to hold recently accessed data from the disk, in case it is needed again. This speeds up disk access by avoiding much of it since the data is already in ram. This is a good thing as it speeds up the system essentially for free, since that ram would otherwise be going to waste. Dropping the cache, therefore, is a bad idea except for doing cold cache performance benchmarking.

You can count memory used by the cache as free, which is why the free program prints a line with the cache added to the free count and subtracted from the used count.

share|improve this answer
add comment

Your Answer

 
discard

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.