memory limit for hibernation?

Florian Diesch diesch at spamfence.net
Fri May 19 23:48:34 UTC 2006


Derek Broughton <news at pointerstop.ca> wrote:

> Florian Diesch wrote:
>
>> mathieu vilaplana <ulist at gs1.ubuntuforums.org> wrote:
>> 
>>> It's normal.
>>> Swsusp2 compress data in your ram and put it in your swap partition.
>>> If you increased your ram memory, you need to also increase your swap
>>> partition.
>>> So if you have 1 GB of ram memory, you should have about 1GB of swap in
>>> order to use suspend to disk (1 or 2).
>> 
>> It often works with less swap space than memory (I used 256MB swap and
>> 768MB memory for some time) but suspeding often takes longer and some
>> times doesn't work at all unless you close some apps.
>
> aiui, it needs as much swap space as you have "dirty" _virtual_ memory

It may be more or less if you're using swsusp2's compressions or
encryption feature.

It seems to me that swsusp2 tries somewhat harder to free memory if
there's not enough swap space available.



   Florian
-- 
<http://www.florian-diesch.de/>




More information about the ubuntu-users mailing list