Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Disabling Virtual Memory in Mac OSX v10.6

Now I'm going to preemptively say, I know exactly what I'm doing and yes, I do want to completely disable Mac OSX's virtual memory/swap files.

I'm going to be more or less switch from a hard drive to solid-state drive. Solid state drives can only handle so many writes to the disk before wearing out, which is why its important to disable the virtual memory. I have 4 gb of RAM, so with a little care on my part disabling the virtual memory won't cause any problems. I've been googling around, but most of the ways I see suggested are for v10.3 or v10.4. They all involved editing "rc.config" in the /etc folder. The only other one I've seen involve's manually rewriting part of the "dynamic_pager" process itself (the process that manages OSX's virtual memory).

I'm really hoping there's an easier way to do it, that I'm just missing. Does anyone know how to disable the virtual memory in Mac OSX?

Macbook Pro 13 inch, Mac OS X (10.6.5), 4 gb of RAM

Posted on Nov 11, 2010 8:51 PM

Reply
Question marked as Best reply
9 replies

Nov 12, 2010 11:53 AM in response to Quadrillion

IMHO your efforts to disable virtual memory after installing an SSD is a little bit like cutting your nose off to spite your face.

Most everything I have read says that the way to go is to increase RAM to the point where any page faulting is minimal. Then you are not like to harm your SSD and the overall performance of you Mac should be very good.



___________________

Allan
User uploaded file

Nov 13, 2010 4:02 PM in response to Quadrillion

I do know what I'm doing, SSD's wear out based on writes and disabling the virtual memory/swap files/page file is important for extending their life. The virtual memory isn't critical either, not to mention I have 4 gigs of RAM. I just finished a stress test, to see how the computer handles when you literally use all available RAM. It worked fine and I was very impressed. I had Doom 3, Left for Dead 2, Starcraft, Eclipse, XCode, Safari, Firefox, and just about every other app I own open and running. It took all that to hit 4 gigs, and once I did max it out it didn't crash. Lagged hard, and eventually froze (Bad idea to try and start all my movies at the same time), but it stayed responsive with all its RAM used up. Point is disabling VM isn't as big a deal as some of you guys seem to think.

Dec 14, 2010 2:07 AM in response to bradulio

bradulio wrote:
And does anyone know if the next version of FCP will be 64 bit? Or should I ask that somewhere else...


No one knows, and even if we did it would be considered speculation on a future Apple product and would therefore be against the Discussions Terms of Use.

As far as SSD wear goes, the MacBook Airs are ALL flash memory and nothing special is done on them, and given the flash memory on the Air is soldered to the main board Apple must not think it's a big long-term issue.

Disabling Virtual Memory in Mac OSX v10.6

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.