128GB SSD and 23GB of sleep image + swap file, what to do? So I've got a 13" Macbook Air with 128GB, and recently I got a message showing that I'm running out of space, so I did a quick check to see what was taking up all of space, and I found out that I have 4GB of sleep image (which is normal), but 20 swap files, each taking up from 60mb to 1gb.  With a small disk size, this is really unacceptable so I was wondering if it was safe to delete some of the swap files and let the system build them up.  Or would a restart help (Though I'd prefer not, had a bet with my friend to keep my uptime as long as possible :p) Any suggestions appreciated.
You can disable Hibernate to regain your size in RAM on your SSD/HD:
First disable it:

sudo pmset -a hibernatemode 0


Then free up space:

sudo rm /var/vm/sleepimage


... if you want to enable it again:

sudo pmset -a hibernatemode 3


Note: -a means on charger and on battery, -b means battery and -c means with charger.

Alternatively if you have more than one disk you can symlink sleepimage to an HD so it can physically locate there.

Swap

First disable Swap:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist


Later delete the files:

sudo rm /private/var/vm/swapfile*


... if you want to enable it again do:

sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist