This question already has an answer here:
Using Ubuntu 12.04 LTS, upgraded from 11.10. Had no idea while installing Ubuntu for the first time. So missed SWAP partition. Now, at times Ubuntu hangs and system monitor shows the memory usage full. Is there any method that I can create a partition from the current Ubuntu partition and assign it as SWAP partition ? If yes, kindly guide me to do the same.
How much SWAP partition space is recommended ? Current specs - 6 GB RAM, 1 GB Radeon GPU.