Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On OSX it used to be that you had to disable the pager daemon, then remove the swap file. Probably need to disengage system protection for it to work though.

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

Then:

rm /var/vm/swapfile*

Disclaimer: haven't tried doing it this way on Sierra.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: