Tuesday, June 14, 2011

I'm back... With some good stuff.

Sorry for being gone everyone, I had to deal with a truly horrendous person.

Anyway, back to what you all care about: useful stuff.

How to disable the page file on OSX:

Open up terminal and type the following:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
sudo rm /private/var/vm/swapfile*

This should disable the system's paging file. To re-enable it type:

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