Wiki
It is recommended to use the double of your computer memory for swap .
See http://www.wikipedia.org/wiki/Virtual_memory