Summarize the following:
You'll find it in the Utilities folder under the Applications folder. sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plistChoose the hard drive that will serve your virtual memory file. Up and down arrows will appear that will allow you to adjust the amount of virtual memory as either more or less.

Summary:
Open the Terminal program. To turn off the swap file, type this command into the Terminal window: To re-activate the swap, Type this command in the terminal window: