Skip to content

Instantly share code, notes, and snippets.

@Luit
Created December 9, 2012 12:23
Show Gist options
  • Save Luit/4244643 to your computer and use it in GitHub Desktop.
Save Luit/4244643 to your computer and use it in GitHub Desktop.
What the hell, Chromium!?
luit@xps14:~$ free -m # My laptop feels sluggish
total used free shared buffers cached
Mem: 3836 3644 191 0 10 498
-/+ buffers/cache: 3135 701
Swap: 8190 1031 7159
luit@xps14:~$ free -m # I think it's Chromium, let's shut that thing down
total used free shared buffers cached
Mem: 3836 1246 2589 0 12 426
-/+ buffers/cache: 808 3028
Swap: 8190 337 7853
luit@xps14:~$ free -m # And let's start Chromium again
total used free shared buffers cached
Mem: 3836 3215 620 0 21 631
-/+ buffers/cache: 2562 1274
Swap: 8190 336 7854
luit@xps14:~$ sudo swapoff -a; sudo swapon -a # And there's room to clear the swap
[sudo] password for luit:
luit@xps14:~$ free -m
total used free shared buffers cached
Mem: 3836 3418 418 0 22 694
-/+ buffers/cache: 2701 1135
Swap: 8190 0 8190
luit@xps14:~$ # So, went from over 3G usage + 1G swap, to under 2.7G usage and no swap...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment