[lkml]   [2006]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [swsusp] not enough memory
Also sprach Pavel Machek <> (Sat, 18 Feb 2006 16:11:16
> On Sat 18-02-06 00:58:14, Richard Mittendorfer wrote:
> > 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.

Swap? 128M was my first attempt -- OOM when the box was heavily loaded.
IIRC no effect on swsusp - there are 64M Ram + 2M Video + Kernel + X?.
The reason I did it were some google results talking about free pages.
There were some solutions talking about adding swap.

(Ram? Would be the way to go, but it's fully loaded.)

> Or try modifying try_to_free memory
> routine to retry shrink_all_mem few more times, with schedule() in
> between...

Uhh. I don't think this will be a good idea /me ha[ck|rm]ing good ol'
linux source. ;-)

sl ritch
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-02-18 19:03    [W:0.970 / U:0.872 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site