How big do you allow your VM to grow?

Discussion in 'macOS' started by dogbone, Apr 30, 2006.

?

Do you let it keep growing as long as there is room and it's not chugging?

  1. Yes it can grow as big as it likes as long as there's room

    19 vote(s)
    86.4%
  2. No, I have a limit where I always reboot regardless of whether it's necessary

    3 vote(s)
    13.6%
  1. dogbone macrumors 68020

    dogbone

    Joined:
    Sep 16, 2005
    Location:
    S33.687308617200465 E150.31341791152954
    #1
    More often than not we need to do a restart for some reason or other. Or our system is chugging a bit.

    But assuming that everything is humming along nicely and there is no pressing reason to reboot do you let your let your VM get as big as it wants to as long as there is plenty of room.

    Or do you reboot regardless of need if it gets past a particular size. If so what is that size.

    Also how big have you allowed you VM to grow.
     
  2. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #2
    It doesn't keep growing infinitely. I've never rebooted to get rid of my Virtual Memory. It doesn't bother me. I just make sure I've always got the spare 8GB of free hard drive space lying around, and I'm set. :)

    Just checked then, mine is at 7.8GB. It seems to stick quite closely to this amount. :cool:
     
  3. dogbone thread starter macrumors 68020

    dogbone

    Joined:
    Sep 16, 2005
    Location:
    S33.687308617200465 E150.31341791152954
    #3
    I've got 1.5 gig of ram in my eMac and it never seems to chug but I usually reboot by now as it has reached 9.6 gig already. Now that I've got more free hd space (cause I shifted the 8 gig X-Plane to my external) I'm going to let it go and see what happens. It's only been up for a day and a half. With only 2000 page outs.
     
  4. tag macrumors 6502a

    tag

    Joined:
    Apr 29, 2005
    Location:
    PA, US
    #4
    Honestly I never even think about it. I just checked and mine is at 7.67 GB. I'm not noticing any sort of slowdown or anything so I don't see any real reason. Though the million page ins & 720k page outs do make me go grrr. :p
     
  5. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #5
    Unless for some reason, it's taking gigabytes in a few minutes, there is no reason to care. There were problems with it until 10.3.8 but things have been steady since then.
     
  6. mad jew Moderator emeritus

    mad jew

    Joined:
    Apr 3, 2004
    Location:
    Adelaide, Australia
    #6
    Just a quick note on page ins & page outs. It's not the absolute volume of page ins & page outs that matters, it's how fast they accumulate. It wouldn't be normal to run for a week and have zero of both, just as it wouldn't be normal to run for twenty minutes and have a billion of each. :)
     
  7. EricNau Moderator emeritus

    EricNau

    Joined:
    Apr 27, 2005
    Location:
    San Francisco, CA
  8. dogbone thread starter macrumors 68020

    dogbone

    Joined:
    Sep 16, 2005
    Location:
    S33.687308617200465 E150.31341791152954
    #8
    It wouldn't be normal to boot up and have 0 page ins :p

    I'm just going to let it go to see what happens. I've never let it go past 10 gig before. I'm curious to see where it levels out.
     
  9. robbieduncan Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
    #9
    Mine is currently at 13.05Gb according to Activity Monitor! I think it's due to some bad memory allocation in a program I am writing :D
     
  10. russed macrumors 68000

    russed

    Joined:
    Jan 16, 2004
    Location:
    London, England
    #10
    not to sound stupid or anything but what is a page in and page out?

    also, is there anyway of limiting the VM size? i know in windows you can, i just realised i have never seen it in os x
     
  11. dogbone thread starter macrumors 68020

    dogbone

    Joined:
    Sep 16, 2005
    Location:
    S33.687308617200465 E150.31341791152954
    #11
    http://homepage.mac.com/joemikeb/ActivityMonitor.htm

    Funnily enough my two swap files in /private/var/vm/ are only 64Mb each.

    You win (for the moment)
     
  12. bousozoku Moderator emeritus

    Joined:
    Jun 25, 2002
    Location:
    Gone but not forgotten.
    #12
    Thank goodness there is no easy way to mess with it.

    Windows allows you to do what you shouldn't because the VM is poorly designed and often needs help to overcome its design flaws.
     
  13. portent macrumors 6502a

    Joined:
    Feb 17, 2004
    #13
    Unless you're actually running out of hard disk space, why would you try to artificially restrict your VM size?

    Unless you're constantly running a program that leaks memory, the rate at which you page in/out should remain pretty constant. And if you are, then the program is the problem, not your memory manager.
     
  14. russed macrumors 68000

    russed

    Joined:
    Jan 16, 2004
    Location:
    London, England
    #14
    wow... you learn something every day!


    talk about learning, i should probably go and do some revision for my exam tomorrow! :eek:
     
  15. Lollypop macrumors 6502a

    Lollypop

    Joined:
    Sep 13, 2004
    Location:
    Johannesburg, South Africa
    #15
    Ive never really bothered with the VM size, just as long as it works! only restart my powerbook when a new os update becomes available.
     
  16. XIII macrumors 68040

    XIII

    Joined:
    Aug 15, 2004
    Location:
    England
    #16
    Mine is currently at 16.39GB. No idea why.... :p

    125202 page in.. 139268 outs.

    Only up 1 day, 17:57 according to Terminal. Hmmm.
     
  17. Mitthrawnuruodo Moderator emeritus

    Mitthrawnuruodo

    Joined:
    Mar 10, 2004
    Location:
    Bergen, Norway
    #17
    I try to keep my VM as lean as possible... one of the reasons why I disabled Dashboard... at the moment (with an uptime of just over 3 days) it's just under 6 GB. I usually restart once or twice a week, just to clean up a bit, even though OS X has become better at releasing resources with the last few upgrades. 10.4.6 is a world apart from 10.4.0-4, when I actually had to reboot every day, because HD space was more or less eaten up (and I had very little HD space left typically around 6 GB just after a reboot), especially when doing heavy stuff, like ripping CDs or working in Photoshop... :(

    Better now, I've cleaned up a bit (got an external drive which made it possible to clean up a bit, now I have ~10 GB free after a reboot) and that, along with 10.4.6's improved ability to just let go (;)) has made my iBook a happy little machine... :)
     

Share This Page