4

I would like to use a dynamically expanding swap file, I install swapspace to do this

sudo apt-get install swapspace

Then I configured /etc/swapspace.conf

I have a 10MiB swap file already in /var/swapfile However, nothing seems to be working. In top and system monitor the amount of swap space is not changing

What am I doing wrong?

Nomi Shaw
  • 425
  • Did you start or check status of service with sudo systemctl start swapspace.service? – watbywbarif Mar 23 '22 at 08:17
  • I have similar problem, started service, consumed memory with stress-ng but no new swap images are added. I get only memory allocation errors. – watbywbarif Mar 23 '22 at 08:24
  • The readme file of swapspace mentions the procedure: https://github.com/Tookmund/Swapspace/blob/master/README.md – Nav Jun 05 '22 at 11:28

0 Answers0