Here's how you can adjust swap file use in Ubuntu 12.10.