How to free the RAM space in RHEL/CentOS 7

Many times we realize that the RAM is taking extra space which may lead to slow performance of the system or server.

How free the RAM space in RHEL CentOS 7_bashcodes
So we can optimize and free the RAM space with few commands.

[symple_box color=”gray” fade_in=”false” float=”center” text_align=”left” width=””] [root@localhost /]# free -m        # check the current RAM usage

[root@localhost /]# sync; echo 3 > /proc/sys/vm/drop_caches    #to clear the caches

[root@localhost /]# free -m        #check again after clearing the caches
[/symple_box] This way you can increase the RAM space.

[symple_divider style=”solid” margin_top=”20px” margin_bottom=”20px”]

[symple_box color=”gray” text_align=”left” width=”100%” float=”none”]

If you like the blog please follow us [icon name=”icon-facebook”] [icon name=”icon-twitter”] [icon name=”icon-google-plus-sign”]

[/symple_box]