- https://frantsouzov.livejournal.com/33752.html
- https://www.iphones.ru/iNotes/chto-nuzhno-znat-pro-fayl-podkachki-v-macos-07-27-2020
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
sudo rm /private/var/vm/swapfile*
and then restart your mac
sudo launchctl load -wF /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
and then restart your mac