It is highly recommend to close all open and not saved files and programs before doing this:
Be sure that you are root.
1. Clear PageCache only.
2. Clear dentries and inodes.
3. Clear PageCache, dentries and inodes.
Create a Shortcut and put this into it:
Clear Ram Cache on Linux
Be sure that you are root.
sudo su
1. Clear PageCache only.
sudo sync; echo 1 > /proc/sys/vm/drop_caches
2. Clear dentries and inodes.
sync; echo 2 > /proc/sys/vm/drop_caches
3. Clear PageCache, dentries and inodes.
sync; echo 3 > /proc/sys/vm/drop_caches
Clear Ram Cache on Windows
Create a Shortcut and put this into it:
%windir%\system32\rundll32.exe advapi32.dll,ProcessIdleTasks
Clear Ram Cache on Mac
sudo purge