Wednesday, September 07, 2011

 

Disable Mac OS X Paging / Swap

I wondered why a Mac with a full 64Gb RAM was swapping even for simple surfing.  I was seeing inexplicable beach-ball appearances. So did this:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist

sudo rm /private/var/vm/swapfile*

Which switches the swap off and deletes the swap files.

My own process monitor confirms the machine runs slightly faster now, and have not seen the beach-ball since.

There is probably a down-side, but have yet to hit it.

Labels: , ,


Comments: Post a Comment

Subscribe to Post Comments [Atom]



Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]