01 March 2008

Dynamic Swap Space

Yet another reason why Linux is amazing. I'm pretty much out of RAM, and running out of swap space, because I'm a process whore and I have way too much stuff open. I don't want to permanently increase my swap space, just at the moment I need more, and I certainly don't want to restart to increase it, that kind of defeats the point.

dd bs=512 count=1M if=/dev/zero of=/tmp/swap
mkswap /tmp/swap
sudo swapon /tmp/swap.


Problem solved. I should've switched to Linux years ago.

No comments: