Sample Header Ad - 728x90

Why would I disable swap file in Mac OS X?

56 votes
15 answers
75655 views
I came across a thread about installing an SSD drive in MacBook Pro. Someone in the comments also recommended to disable the swap file but didn't say why: sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist sudo rm /private/var/vm/swapfile* I wonder why one would want to disable the swap file in Mac OS X. Does it increase performance? Stability? Any downsides? Finally, does it make any sense to disable swap file when *not* using SSD?
Asked by Dan (5067 rep)
Sep 8, 2011, 04:28 PM
Last activity: Feb 21, 2023, 06:16 PM