Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7057

Advanced users • Re: Swap-file?

$
0
0

Code:

sudo nano /etc/dphys-swapfile
change
CONF_SWAPSIZE=100
to
CONF_SWAPSIZE=2048

to much swap is not good, don't go crazy. :lol:
If you need more than 2GB (2048), you'll need to remove the "#" from the CONF_MAXSWAP line and increase that value too.

Code:

#CONF_MAXSWAP=2048
Change to something like

Code:

CONF_MAXSWAP=4096

Statistics: Posted by rpdom — Mon Apr 29, 2024 8:56 am



Viewing all articles
Browse latest Browse all 7057

Trending Articles