Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

deleting swap files



I noticed that my free HD space was lower than usual and found that the culprit was the existence of several swap files:

-rw------T 1 root wheel 80000000 Jun 20 11:18 swapfile7
-rw------T 1 root wheel 80000000 Jun 19 14:34 swapfile6
-rw------T 1 root wheel 80000000 Jun 19 09:24 swapfile5
-rw------T 1 root wheel 80000000 Jun 18 15:40 swapfile4
-rw------T 1 root wheel 80000000 Jun 18 13:57 swapfile3
-rw------T 1 root wheel 80000000 Jun 18 13:55 swapfile2
-rw------T 1 root wheel 80000000 Jun 18 09:16 swapfile1
-rw------T 1 root wheel 80000000 Jun 16 11:26 swapfile0

Suspecting that I didn't really need all these swap files, I rebooted. Now, I'm back to one.

-rw------T 1 root wheel 80000000 Jun 20 11:39 swapfile0

Which leads me to these questions:

if Darwin isn't deleting unused swap files that's a bug, right?
how do I know if a swap file is being used or not?
if I think unused swap files are laying around, is the best recourse to reboot?
I doubt that I should delete a swap file, but I'll ask: how bad is that?

Thanks,

Troy.




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.