Free Up RAM

From Chorke Wiki
Revision as of 10:43, 2 July 2024 by Shahed (talk | contribs)
Jump to navigation Jump to search

🟢 Free Up » PageCache

echo 'sync;echo 1>/proc/sys/vm/drop_caches'|sudo bash

🟡 Free Up » Swap Space

echo 'swapoff -a && swapon -a'|sudo bash

🟠 Free Up » Dentries & Inodes

echo 'sync;echo 2>/proc/sys/vm/drop_caches'|sudo bash

🔴 Free Up » PageCache, Dentries & Inodes

echo 'sync;echo 3>/proc/sys/vm/drop_caches'|sudo bash