I agree with most of what is said except be careful with too much swap. More
is less. It can actually slow down your system because disk caching is
slower than RAM.
I tend toward not exceeding the size of your RAM. Certainly don't go beyond
2 or 3 GBs no matter how much RAM you have.