Sunday, 6 August 2017

Clearing Cache In Linux

Hi All,
         Today, I was Facing error with Respect to the Memory , Though I have Enough Memory in my Machine, it's not Clearing out . 

How I identified this 

1) Executed the Command free -m 

this will give the Free Memory Report in the Linux Box.

2) I am Running only one Instance but taking lot of memory ,it  has not cleared the Cache Memory this can be cleared out by the Below Command .

 #!/bin/sh
sync; echo 3 > /proc/sys/vm/drop_caches


Make Sure you are running as the Root Before Executing this.

Happy Learning !!!!

No comments:
Write comments