Here is the error I (almost always) get when trying to hibernate on hardy:
Code:
swsusp: Not enough free memory
Error -12 while creating image
This started right after I added ram to my machine. I assumed it had to do with the size of the swap partition, so I used gparted so that now my situation looks like this:

Code:
ewan@ewan-ubuntu:~$ cat /proc/meminfo 
MemTotal:       968820 kB
MemFree:        447904 kB
Buffers:          3268 kB
Cached:          89976 kB
SwapCached:       5852 kB
Active:         372760 kB
Inactive:        21156 kB
HighTotal:       64000 kB
HighFree:          184 kB
LowTotal:       904820 kB
LowFree:        447720 kB
SwapTotal:     2104472 kB
SwapFree:      2043496 kB
Dirty:              36 kB
Writeback:           0 kB
AnonPages:      298860 kB
Mapped:          83412 kB
Slab:            15036 kB
SReclaimable:     6364 kB
SUnreclaim:       8672 kB
PageTables:       2672 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:   2588880 kB
Committed_AS:   739096 kB
VmallocTotal:   114680 kB
VmallocUsed:     20384 kB
VmallocChunk:    93492 kB
I have more than twice as much swap as ram and, at any rate, at the moment I have far more free swap than I need to write the contents of ram out to swap. It has worked once since adding ram (I might have done something special, but I don't remember anything) but this definitely never happened before I added ram. That might be a coincidence of course - so any thoughts are welcome.
--ewan