Not enough free swap space to hibernate
jason at bluetree.ath.cx
Wed Mar 25 12:34:15 UTC 2009
On Wed, March 25, 2009 5:21 am, Vincent Arnoux wrote:
> I have 1 GB or RAM and 1 GB of swap. I reboot rarely my laptop, but
> instead suspend it to disk. After a few days and intensive use of
> RAM/swap (virtual machines essentially), I end up when trying to
> hibernate with the message: "Not enough swap".
> During hibernation, RAM is being written to swap partition. If there
> is not enough space, suspend to disk just fails. How can I force my
> swap to be emptied? I could use a swap file, but I read Ubuntu current
> kernel can't hibernate using a swap file.
The only way to force swap to be emptied is to close running programs to
free RAM. You need more swap. I would recommend 2GB. I believe GParted
from the installation disc can resize your partitions so you can increase
the size of the swap partition.
More information about the ubuntu-users