upvote
Also try:

     sudo sysctl -w vm.drop_caches=3
reply
Or more simply, use

   su -c 'echo 3 > /proc/sys/vm/drop_caches'
reply
echo 3 | sudo tee /proc/sys/vm/drop_caches
reply
thanks. copy pasting from the github via my phone, and should have taken the extra few mins
reply
No worries, overall a very useful summary comment.
reply