Friday, July 31, 2009

Clearing Cache

The Centos machine was just running out of memory and me running out of accessibility to it.And thanks to the system monitor applet that was going whole green [resembling RED here and telling me to stop].
And then only i googled for ,some way to reduce it back to normal.And found many for it,but only few with explanation for the script that was to be run.
So finally after reading all that finally went by using
echo 3 > /proc/sys/vm/drop_caches

All game is in passing the variable to the file 'drop_caches'