Login | Register RSS

Questions

All Questions
Apache [2]
Automotive [1]
Contracting [1]
Electronics [1]
Gardening [1]
Home [3]
Linux [20]
Miscellaneous [2]
MySQL [2]
Perl [1]
Tea [1]
WiFi [1]
Windows [1]

Linux 
Clear Memory Cache
Posted on 01/30/2012

If you run into a situation where the memory cache needs to be flushed, as root, run the commands below to syncronize changes in memory to hard disk & then clear the memory cache.

sync;
echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/null;
If you need to do this routinely for some reason, you may want to setup an alias for this.

If you like this site or any of its content, please help promote it. Use the social media buttons below to help spread the word. Don't forget to post in the comments section.

  Print   Email
Latest Blog Posts:
Latest Pages:

© 2017 BuildDesignCreate.com • All Rights Reserved
Privacy PolicyAdvertise with UsContact UsSite Map