On Mon, Feb 28, 2011 at 02:03, Jacky Lam <lamshuyin@xxxxxxxxx> wrote: > Â ÂI create a 300GB swap space (just use up the remaining space in disk, no > special reason). Is that a problem? That should be plenty for a box with 128 MiB RAM... > On 2/25/2011 4:12 PM, Geert Uytterhoeven wrote: >> On Fri, Feb 25, 2011 at 04:56, Jacky Lam<lamshuyin@xxxxxxxxx> Âwrote: >>> >>> Â ÂI try the hibernation feature with my MIPS box which has 128MB RAM. >>> After >>> boot up, it remains to have 110MB something. Then I mount ramfs on a >>> directory, create a file 100MB from /dev/urandom and enter hibernation. >>> The >>> process failed because of no memory. Then, I continue to cut the data >>> file >>> size and not success until 20MB. >>> >>> Â ÂI want to make sure if it is an expected behavior or I am doing some >>> wrong? >> >> How large is your swapspace? Hibernation needs space on swap to store >> the contents >> of RAM (that cannot be loaded again from somewhere else). Gr{oetje,eeting}s, Â Â Â Â Â Â Â Â Â Â Â Â Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. Â Â Â Â Â Â Â Â Â Â Â Â Â ÂÂ ÂÂ -- Linus Torvalds