Created
October 27, 2013 13:25
-
-
Save 1951FDG/ffe89c7f46b74198d10e to your computer and use it in GitHub Desktop.
Disable swap file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sysctl vm.swapusage | |
ls -la /var/vm | |
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist | |
sudo rm -rf /var/vm/swapfile* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment