Comment 95 for bug 577916

Revision history for this message
Teo (teo1978) wrote :

For the first time I have seen an error message that may shed some light on this, thought it doesn't always appear (I've seen it only once): it appear during the hibernation and said something like "not enough swap space" or something like that.

Indeed I have a swap partition of 2.2GB and I have 3GB of ram.

Must the swap partition be at least the size of the used RAM in order to hibernate? Does it depend on the amount of ram actually used? (that would explain that sometimes it does hibernate succesfully).

Anyway there still are a few things this doesn't explain:
1- even when hibernation fails, that error message doesn't always appears (indeed I saw it only once)
2- if there is not enough swap space to hibernate (or whatever condition necessary to hibernate is not met, for that matter), the system should definitely give a warning and refuse to hibernate instead of committing suicide
3- this doesn't explain when the hibernation completes apparently succesfully and then when you turn the computer on again it reboots instead of restoring
4- when I installed Ubuntu, I'm 100% sure I got no warning regarding the fact that I was setting a swap partition smaller than ram and that could cause problems.