06-28-2024, 11:15 AM
To enable the swap file and make it permanent run the command below and then reboot.
Verify its running after rebooting
Check the default configured size. It looks like it defaults to 200MB on <= 4GB RAM Pi's and 100MB on the 8MB RAM Pi's.
It's currently being set to "disabled" in the post install section of the moode-player package. I'll just comment out that line for the upcoming 9.0.4 release and we should be all set.
Code:
sudo systemctl enable dphys-swapfile
sudo reboot
Verify its running after rebooting
Code:
systemctl status dphys-swapfile
free -m
Check the default configured size. It looks like it defaults to 200MB on <= 4GB RAM Pi's and 100MB on the 8MB RAM Pi's.
Code:
cat /etc/dphys-swapfile
It's currently being set to "disabled" in the post install section of the moode-player package. I'll just comment out that line for the upcoming 9.0.4 release and we should be all set.