
On 2022-08-15 18:38, Axel Braun wrote:
Am Sonntag, 14. August 2022, 14:57:42 CEST schrieb Carlos E. R.:
...
the machine is a laptop which might not only run sleep and shutdown but maybe also hibernate. i think this hibernate involves the memory being dumped to swap or am i completely wrong? maybe I am. do i need to worry about the swap size? ty.
If you intend to hibernate your machine, then yes, you should enlarge swap. My rule of thumb is "somewhat bigger than the ram".
Although the kernel uses compression, and often it works with less. There is no exact figure, some day it may need more and it is not available... thus my rule of thumb.
..or just close some applications before you hibernate ;-)
I have 16 GB RAM and the last hibernation left an image of 1,1GB, at a current RAM consumption of 3,2GB, no apps closed.
And I have 32 gigs of ram, and using currently, just out of hibernation, 5.5 gigs of swap. -- Cheers / Saludos, Carlos E. R. (from 15.3 x86_64 at Telcontar)