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: 36897
Joined: Sun Jun 16, 2013 11:19 pm
Location: 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: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

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”