I have a samsumg evo sdcard, one of the tops in performance according to
So trying this with very slow sd cards probably wont produce a benefit
Im using balbes 5.55 armbian
I installed a swapfile with 2G , with
sudo apt-get install dphys-swapfile
sudo vim /etc/dphys-swapfile
look for
#CONF_SWAPSIZE=
and change for
CONF_SWAPSIZE=2000
then restart the system or
sudo dphys-swapfile swapon
It can take seconds (in my samsung evo) or 20 minutes (on an old kingston and raspberry pi running raspbian), so dont worry if it takes half hour
the first run needs to create the swapfile, and its huge
my beelink gt1 ultimate comes with 3 GB of ram, but i was only able to boot it using a dtb (meson-gxm-q200.dtb) that gives me 2 GB, so when i open 10 tabs in my browser i start with problems and freezes.... i know, its too much, but im used to it, so doing this im able to browser better
the swapfile will start at boot every time as service, so you dont have to enter any command after this
As pointed by talraash