Increase swap, Raspberry Pi

Raspberry Pi does not have a swap partition as usually Linux do.
Raspberry Pi like windows has swap file which by default has only 100 Mb.

So if you really want to squeeze the juice out of your sd or micro sd card you can increase swap file.

To do it so open configuration:
sudo nano /etc/dphys-swapfile
Set default size 100 to something bigger like 1024:
CONF_SWAPSIZE=1024
2048 is maximum allowed!

No comments: