How To Disable Swap On MacOSX
erics, Posted July 25th, 2012 at 7:23:55pm
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
Leave Your Comment
All fields marked with "*" are required.