Autogenerate and use a swap file
  4 reviews

This init.d script exists so one does not need to have a fixed size swap partition. Instead install without swap partition and then run this, with file size (re-)computed automatically to fit the current RAM size.

By default (and hence on installation) it creates swapfile twice as big as the present RAM amount with an upper limit of 2 GB.

It's also very helpful when included in SD card, USB stick or disk images which are distributed and run on many machines with different amount of RAM, e.g. different models of the Raspberry Pi or cloud images.
Latest reviews
didje 9 years ago


brandoneffecttech 9 years ago

this tool is part of my essentials list to isntall on every system

iTophux 10 years ago

great tool for swapfile dynamic

wyrdoak 10 years ago

I found it a great tool if you forget to add a swapfile to your install. I was using Paint Shop in Wine and was wondering why it was running weird no swapfile, I forget to add one when I install LMDE been about a week and justr noted it. lol