Results 1 to 1 of 1
Hi all,
Today when i system monitored i saw memory use 2 gig of 2 gig.
because of that lot of was not perfectly running.
so i reboot the system ...
- 03-04-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
Cache Memory cleaning
Hi all,
Today when i system monitored i saw memory use 2 gig of 2 gig.
because of that lot of was not perfectly running.
so i reboot the system it again minimize but feeling that gain it
piling up when ever new process or software runs it took some
free memory to use when the processis over or closed it does not
freed up that much. This way i think day by day it went upto 2 gig.
so i did some google search and found
To free pagecache:
# echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
# echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
echo 3 > /proc/sys/vm/drop_caches
As this is a non-destructive operation and dirty objects are not freeable, the user should run “sync” command first!
but my fedora core 2 system does not have any drop_caches directory
so this command show error to me as no such directory.
What will i do in this case?
I am new in linux.
any help will be appreciated.
Mushfiq


Reply With Quote