Linux: How to clear the cache from memory

Linux has a supposedly good memory management feature that will use up any “extra” RAM you have to cache stuff. This section of the memory being used is SUPPOSED to be freely available to be taken over by any other process that actually needs it, but unfortunately my Linux (three distros now, Mandriva 32 bit, and Mandriva 64 bit, and Opensuse 11 64 bit) thinks that cache memory is too important to move over for anything else that actually needs it.

Simply run the following command as root and the cache will be cleared out.

sync; echo 3 > /proc/sys/vm/drop_caches

9 thoughts on “Linux: How to clear the cache from memory

    1. admin

      sure but for that you need to give a link back to my site.

      Also tell me your blog or domain name where you given the link back?

      Reply
  1. Noclegi kraków

    Greetings! I’ve been reading your weblog for some time now and finally got the
    courage to go ahead and give you a shout out from Atascocita
    Texas! Just wanted to tell you keep up the excellent job!

    Reply
    1. Alf

      . Your favorite rasoen appeared to be on the web the easiest thing to be aware of. I say to you, I certainly get annoyed while people consider worries that they plainly do not know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks

      Reply
  2. buy 100 instagram likes cheap

    Greetings, I believe your blog could possibly be having internet browser compatibility issues.
    Whenever I take a look at your website in Safari, it looks fine however, if opening in I.E., it has
    some overlapping issues. I merely wanted to give you a quick heads up!
    Besides that, wonderful blog!

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.