Virtual Memory question

Discussion in 'macOS' started by LightDemon69, May 30, 2008.

  1. LightDemon69 macrumors member

    Joined:
    Feb 3, 2008
    Location:
    Levan, Utah
    #1
    I always thought that Virtual Memory was used when you ran out of room on your RAM, but apparently this is not the case. I have the iBook G4 in my sig with 1.25 GB of RAM, and I have tons of room left on my RAM, but all of my processes are using roughly 100 MB of Virtual memory. Is there a way to make them use more of my RAM instead, because doesn't that make them.... well.... "Snappier"? Hopefully I don't look like an idiot for being completely wrong.[​IMG]
     
  2. GGJstudios macrumors Westmere

    GGJstudios

    Joined:
    May 16, 2008
    #2
    In Mac OS X, programs can use any amount of available RAM they need. Mac OS X loads as much of a program into RAM as it can, even parts not currently in use. This may inflate the reported RAM being used by the system. When RAM is needed, the system will page out to disk parts not currently in use. The OS does this dynamically, so there's no need to try to adjust it. Of course, the more physical RAM you have, the better. The OS will automatically make the most efficient use of physical and virtual memory to maximize performance.

    Here is some more information: http://docs.info.apple.com/article.html?artnum=107918
     
  3. CanadaRAM macrumors G5

    CanadaRAM

    Joined:
    Oct 11, 2004
    Location:
    On the Left Coast - Victoria BC Canada
  4. ebel3003 macrumors 6502a

    ebel3003

    Joined:
    Jun 20, 2007
    Location:
    "The Google"
    #4
    Anything in memory that goes 'inactive' is cached to the disk and made available to be reloaded into memory when needed. This is normal behavior and there really isn't any reason to change that behavior because it's still fast. And don't be surprised if you start accumulating humongous VM caches.

    [​IMG]
     

Share This Page