mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Nigel Cunningham <ncunningham@cyclades.com>
Cc: Richard Mittendorfer <delist@gmx.net>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [swsusp] not enough memory
Date: Sat, 18 Feb 2006 16:08:29 +0100	[thread overview]
Message-ID: <20060218150828.GB5658@openzaurus.ucw.cz> (raw)
In-Reply-To: <200602181008.02801.ncunningham@cyclades.com>

Hi!

> > On my 64MB notebook I get the following message, when going swsusp:
> >
> > ..
> > swsusp: Need to copy 15526 pages
> > swsusp: Not enough free memory
> > Error -12 suspending
> > ..
> >
> > # free
> >              total     used     free   shared    buffers   cached
> > Mem:         62760    59884     2876        0       3828    16052
> > -/+ buffers/cache:    40004    22756
> > Swap:       200804    30316   170488
> >
> > If I end all apps but the XServer it works. I've allready added some
> > more swapspace, but that didn't help. So, how much memory will I need
> > for a successful suspend or better (since i can't stuff any more into
> > it) is there a way to minimize the amount needed?
> 
> swsusp needs to be able to free half your memory to be able to suspend. I 
> don't know it intimately, but you may well be failing to do this. Being 
> completely biased (and not unwilling to admit it!), I'd suggest you try 
> Suspend2 (www.suspend2.net). It doesn't have such a limitation.

Actually suspend2 has exactly the same limitation. If more than
half memory is occupied by something else than disk caches,
you loose in swsusp and suspend2.


-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         


  parent reply	other threads:[~2006-02-18 16:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 23:58 Richard Mittendorfer
2006-02-18  0:07 ` Nigel Cunningham
2006-02-18  0:40   ` Richard Mittendorfer
2006-02-18  0:41     ` Nigel Cunningham
2006-02-18  0:57       ` Richard Mittendorfer
2006-02-18  0:57         ` Nigel Cunningham
2006-02-18 15:08   ` Pavel Machek [this message]
2006-02-18 15:11 ` Pavel Machek
2006-02-18 17:57   ` Richard Mittendorfer
2006-02-18 18:00     ` Pavel Machek
2006-05-02  3:28 ` [swsusp] not enough memory [solved with 2.6.17-rc3] Richard Mittendorfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060218150828.GB5658@openzaurus.ucw.cz \
    --to=pavel@suse.cz \
    --cc=delist@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncunningham@cyclades.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®