ThomasD Posted December 23, 2019 Share Posted December 23, 2019 Hello, Version 5.4.0-odroidxu4 #19.11.3.342 If I use this command: sudo swapoff -a sudo swapon -a Swap switch off, but not on again. Only after reboot, swap is on again. regards ThomasD Link to comment Share on other sites More sharing options...
Igor Posted December 23, 2019 Share Posted December 23, 2019 5 hours ago, ThomasD said: Swap switch off, but not on again. Probably this command does not know how to handle swap in compressed memory form (/dev/zram1) ... which we use by default. It looks like we need to add it to the /etc/fstab and than it works. /dev/zram1 none swap Link to comment Share on other sites More sharing options...
ThomasD Posted December 23, 2019 Author Share Posted December 23, 2019 Hello, it works a little. Before swapoff i have aroung 998 MB swap. After swapon it show 125 MB swap. After reboot it is 998 MB. regards ThomasD Link to comment Share on other sites More sharing options...
Tido Posted December 24, 2019 Share Posted December 24, 2019 16 hours ago, ThomasD said: Swap switch off why do you need this? 1 Link to comment Share on other sites More sharing options...
Igor Posted December 24, 2019 Share Posted December 24, 2019 10 hours ago, ThomasD said: it works a little. 16 hours ago, ThomasD said: Version 5.4.0-odroidxu4 #19.11.3.342 Well, try to find out. Development builds are made for that purpose. Link to comment Share on other sites More sharing options...
Recommended Posts