Free Up RAM: Difference between revisions
Jump to navigation
Jump to search
(Created page with "==Free Up » PageCache== <syntaxhighlight lang="bash"> echo 'sync;echo 1>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » Dentries and Inodes== <syntaxhighlight lang="bash"> echo 'sync;echo 2>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » PageCache, Dentries, and Inodes== <syntaxhighlight lang="bash"> echo 'sync;echo 3>/proc/sys/vm/drop_caches'|sudo bash </syntaxhighlight> ==Free Up » Swap Space== <syntaxhighlight lang="bash">...") |
No edit summary |
||
Line 1: | Line 1: | ||
==Free Up » PageCache== | ==🟢 Free Up » PageCache== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
echo 'sync;echo 1>/proc/sys/vm/drop_caches'|sudo bash | echo 'sync;echo 1>/proc/sys/vm/drop_caches'|sudo bash | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Free Up » | ==🟡 Free Up » Swap Space== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
echo ' | echo 'swapoff -a && swapon -a'|sudo bash | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Free Up » | ==🟠 Free Up » Dentries & Inodes== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
echo 'sync;echo | echo 'sync;echo 2>/proc/sys/vm/drop_caches'|sudo bash | ||
</syntaxhighlight> | </syntaxhighlight> | ||
==Free Up » | ==🔴 Free Up » PageCache, Dentries & Inodes== | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
echo ' | echo 'sync;echo 3>/proc/sys/vm/drop_caches'|sudo bash | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 10:43, 2 July 2024
🟢 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