Turning off paging in OS X

Discussion in 'macOS' started by raymondu999, Apr 5, 2009.

  1. raymondu999 macrumors 65816

    Joined:
    Feb 11, 2008
    #1
    Hi there.

    I'm asking this for a friend of mine. Is there any way to turn off paging in Mac OS X?
     
  2. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
  3. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
  4. raymondu999 thread starter macrumors 65816

    Joined:
    Feb 11, 2008
    #6
    No no.. I meant paging as in page in/outs, as in Virtual Mem.
     
  5. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
    #7
    You want to disable virtual memory?

    That is not a good idea. Your system will hang whenever it runs out of physical RAM.
     
  6. old-wiz macrumors G3

    Joined:
    Mar 26, 2008
    Location:
    West Suburban Boston Ma
    #8
    I was wondering why would you want to turn off paging? What are you trying to accomplish?
     
  7. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #9
    Stop system slowdowns/hanging because of constant HDD seeking from page outs?

    The simple solution is to buy more ram. Get a faster hdd or install a SSD or hook up a FW800 Raid 0 setup.

    The link above posted is more problematic than helpful especially since everyone who said they got it to work in the comments said that that particular solution would eventually permanently crash the system.

    Addendum: bad idea
     
  8. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
    #10
    But with no VM, you get hangs as the system waits for a different program to release physical memory ... or worse.
     
  9. sammich macrumors 601

    sammich

    Joined:
    Sep 26, 2006
    Location:
    Sarcasmville.
    #11
    I am merely taking a guess at what the OP is trying to accomplish...hence my quote. And yes, that's exactly why a system would hang.

    Addendum: bad idea
     
  10. r.j.s Moderator emeritus

    r.j.s

    Joined:
    Mar 7, 2007
    Location:
    Texas
    #12
    I know, and I was answering the question and adding to it, not directing it at you.

    OP, disabling VM is a very bad idea. Don't attempt it.
     
  11. raymondu999 thread starter macrumors 65816

    Joined:
    Feb 11, 2008
    #13
    Ah..I see... my friend's question, not mine. He's getting the Rev. B MBA, with SSD. Given that SSD's degrade in performance with use, if the system kept on paging/in and out of it, that would wear it down quickly, and he wants to avoid that.
     
  12. sushi Moderator emeritus

    sushi

    Joined:
    Jul 19, 2002
    Location:
    キャンプスワ&#
    #14
    Current OS'es rely on virtual memory to run smoothly.

    While I understand your friend's desire, my guess is that it will probably not be worth the effort in the long run.
     
  13. IJ Reilly macrumors P6

    IJ Reilly

    Joined:
    Jul 16, 2002
    Location:
    Palookaville
    #15
    So some hackers tinkering with a critical but undocumented part of OSX believe they've improved on Apple's memory management scheme. The only problem is, this hack just happens to crash OSX. Don't try this at home.

    Unless Apple comes up with a better memory management scheme, the answer to the problem of accumulating VM swap files is rebooting the Mac occasionally. (Not that I want to restart that debate, but here it is again in black and white.)
     

Share This Page