Re: [swsusp] not enough memory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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         

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux