christopholous
Posts: 14
Joined: Sat Jul 06, 2019 1:51 am

Permanantly turning off swap

Tue Jul 16, 2019 6:28 pm

I noticed the swapoff -a command doesn't persist reboots. Is there a trick to doing this permanently?
Your mother is so fat, the recursive function computing her mass causes a stack overflow.

User avatar
DougieLawson
Posts: 39183
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Permanantly turning off swap

Tue Jul 16, 2019 6:38 pm

Open an command window and run man dphys-swapfile. That will explain everything about swapping on your Stretch or Buster system.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

christopholous
Posts: 14
Joined: Sat Jul 06, 2019 1:51 am

Re: Permanantly turning off swap

Tue Jul 16, 2019 8:18 pm

Thank you Dougie

This worked:
sudo dphys-swapfile uninstall
Your mother is so fat, the recursive function computing her mass causes a stack overflow.

Return to “Beginners”