Child pages
  • Memory cleanup hints

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: One-liner for server version of complete cleanup

...

No Format
swapoff -a
swapon -a

Complete cleanup (Desktop version)

To combine all of the above plus king-of-leaks glipper:

No Format
killall glipper
 
echo 3 |sudo tee /proc/sys/vm/drop_caches >/dev/null
sudo swapoff -a
sudo swapon -a
echo 3 |sudo tee /proc/sys/vm/drop_caches >/dev/null
 
glipper &
 

Complete cleanup (Server version)

No Format
echo 3 > /proc/sys/vm/drop_caches ; swapoff -a ; swapon -a ; echo 3 > /proc/sys/vm/drop_caches