How To Disable Swap On MacOSX

Author: , July 25th, 2012

DON’T DO THIS UNLESS YOU ARE EXPERT LEVEL SYSADMIN!! YMMV… As root: launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist rm /private/var/vm/swapfile* BONUS LINKS: How to move your swapfile: http://superuser.com/questions/28414/moving-the-swapfiles-to-a-dedicated-partition-in-snow-leopard Apple Memory Docs: https://developer.apple.com/library/mac/#documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html