Does Ubuntu need a swap partition?
Answer
If you need hibernation,
a swap of the size of RAM becomes necessary for Ubuntu
. Otherwise, it recommends: If RAM is less than 1 GB, swap size should be at least the size of RAM and at most double the size of RAM.