 |
 |
Can I delete my swapfiles?
|
 |
|
 |
|
Junior Member
Join Date: Feb 2001
Status:
Offline
|
|
I've pretty happy with my uptime thus far, but my swapfiles have gotten out of control in the process. I have 24 swapfiles at 80MB each!
I don't have another HD to use for the swapfiles, so that suggestion is out. Is it possible for me to just delete the files?
This machine has 768MB RAM, so I didn't think I would be using that much VM.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jan 2002
Location: Trondhjem, Norway
Status:
Offline
|
|
I think it can be pretty dangerous to delete the swapfiles. There are utilities (Cache Out X) that do this, but they recommend rebooting immediately.
It's better to find out what program(s) are causing this. How many apps are open, and what type of work are they doing? Try quitting them one by one. The dynamic_pager should begin reducing the number of swapfiles. Also, log out and back in. That should leave you with one or two.
You can also open the Terminal, and enter the 'top' command to get a view of what apps are running. There are some memory usage indicators there too.
BTW, I have 384MB RAM, and usually have three swapfiles at most. But some disk images that launch automatically and begin installing, seem to increase the number of swapfiles way too much. Apple's Safari .dmg is one. If this happens, I log out.
|
|
|
| |
|
|
|
 |
|
 |
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
are you logging out/in? i know this doesn't clear them all, but it cures some things
is uptime such a big deal, though? if a mac is acting weird on me, and it's been up more than about 7-10 days (for example), i'll just reboot the frigger. no questions asked.
however, i wouldn't start deleting swap files. nope.
|
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Saint-Jean-sur-Richelieu, Québec, Canada
Status:
Offline
|
|
Originally posted by philzilla:
are you logging out/in? i know this doesn't clear them all, but it cures some things
is uptime such a big deal, though? if a mac is acting weird on me, and it's been up more than about 7-10 days (for example), i'll just reboot the frigger. no questions asked.
however, i wouldn't start deleting swap files. nope.
ChacheOut deletes the swap files and tells you to reboot? I hope they're not asking for that.. because the OS does it by itself!
If you take a look at the ini scripts of the OS, you'll notice that the $swapdir is emptied at boot..
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
From the look of it, he doesn't want to reboot. Uptime concerns and all that.
Deleting swapfiles is extremely dangerous. I suggest you not do it. The problem is, you have no way of telling which ones are still in use, and which might be safe to delete (or, indeed, if any of them are safe to delete).
Have you tried MacJanitor?
|
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|