On Tue, 2008-10-14 at 17:47 +0000, Launchpad Bug Tracker wrote: > You have been subscribed to a public bug: > > I have a machine on which I've recently upgraded the memory. Now the > swap space is too small to allow hibernate to occur. But the GNOME > logout menu still includes the "Hibernate" option.
Unfortuantly, there is no way for pm-utils to know that is the case without actually trying it. Just because you have less swap space than system memory does not mean hibernate will fail no matte the method you use, the system will throw away memory it can load from the hard disk elsewhere (filesystem cache and the like) if the memory will not fit in hte amout of swap space available. Uswsusp and the in-kernel hibernate have to do this anyways, because the way they take a snapshot is by freeing up half the memory and then copying the non-freed half over the pits that got freed before writing the snapshot to swap space. > If the machine cannot hibernate, the logout menu shouldn't include the > option. There is no way for pm-utils to know this in advance. Sorry. Might I suggest making your swap space bigger? > ** Affects: pm-utils (Ubuntu) > Importance: Wishlist > Status: Triaged > -- Victor Lowther Ubuntu Certified Professional -- hibernate included in shutdown menu, even if it can't work. https://bugs.launchpad.net/bugs/223770 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
