QUOTE(terry3386 @ Aug 16 2010, 08:48 PM)
For newer Linux OS if ur physical memory is large enough you wudnt even need a swap space.
actually, you gonna need a swap space if you're going to use hibernation, at least for ubuntu it is..
and after googling a few minutes, i got this bit of information about how hibernation (suspend-to-disk) works..:
CODE
1. User requests for software suspend (e.g: hibernation button clicked)
2. All the running processes are given the suspend signal
3. The devices are frozen so that they don’t change the system state when the snapshot is taken
4. The memory image is atomically copied with interrupts disabled
5. Frozen devices are awakened so that the image can be written
6. The image is written to swap
7. Devices are suspended and the system powered off
and to resume (e.g: power button swicth on), the process will reversed.
source:
http://www.freesoftwaremagazine.com/articles/hibernate_linuxhttps://help.ubuntu.com/community/SwapFaqdo correct me if i'm wrong..

Added on August 17, 2010, 10:53 amQUOTE(de4thscythell @ Aug 16 2010, 07:02 PM)
Yup. Before this can hibernate.
Ek. Can't really remember how much my swap is, but my RAM is 2GB, perhaps the swap is 2GB also

you can check by issuing
free -m
and if its to small, expand it.. at least, to be equal with your RAM coz the system will place your-currently-running-application image on swap partition.. imagine if your swap partition is 512MB and image-to-be-place is 1.5GB..
This post has been edited by hotfloppy: Aug 17 2010, 10:53 AM