Flushing swapfile?

Discussion in 'Mac OS X 10.3 (Panther) Discussion' started by techfury90, Feb 2, 2004.

  1. techfury90 macrumors newbie

    Joined:
    Nov 11, 2003
    Location:
    Raleigh, NC
    #1
    Alright, my swapfile has grown to a big 4.5 GB over time, and I want to just flush it all out. Is there any way I can delete the existing swapfile and create a new one?
     
  2. rainman::|:| macrumors 603

    rainman::|:|

    Joined:
    Feb 2, 2002
    Location:
    iowa
    #2
    that's highly unusual, the swapfile is designed to virtually disappear when not in use. you're sure that's what it is? if so, you should be able to simply delete it, and the system will create a new one... i don't remember where the referencing line of code is, but when you move the swapfile, you simply point it elsewhere-- the system should create a fresh one at startup.

    paul
     
  3. techfury90 thread starter macrumors newbie

    Joined:
    Nov 11, 2003
    Location:
    Raleigh, NC
    #3
    Well, activity monitor always says I have a 4.2 GB swapfile, and it keeps on getting bigger. Its very weird.
     
  4. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #4
    The swapfiles are stored in /var/vm, take a look there and see how much space they're using.
     

Share This Page