All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Richard Mittendorfer <delist@gmx.net>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [swsusp] not enough memory
Date: Sat, 18 Feb 2006 16:11:16 +0100	[thread overview]
Message-ID: <20060218151115.GC5658@openzaurus.ucw.cz> (raw)
In-Reply-To: <20060218005814.6548092d.delist@gmx.net>

On Sat 18-02-06 00:58:14, Richard Mittendorfer wrote:
> 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?

128MB should be enough for you. Or try modifying try_to_free memory routine to
retry shrink_all_mem few more times, with schedule()  in between...
-- 
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms         


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

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-17 23:58 [swsusp] not enough memory 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
2006-02-18 15:11 ` Pavel Machek [this message]
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=20060218151115.GC5658@openzaurus.ucw.cz \
    --to=pavel@suse.cz \
    --cc=delist@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.