Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

LastLine

macrumors 65816
Original poster
Aug 24, 2005
1,313
21
Ok, quick thought - my hard disk seems to have been eaten latley but I don't kjnow what by. Are there any utilities out there that will rapidly identify what might be taking my space up?
 

IJ Reilly

macrumors P6
Jul 16, 2002
17,909
1,496
Palookaville
LastLine said:
Ok, quick thought - my hard disk seems to have been eaten latley but I don't kjnow what by. Are there any utilities out there that will rapidly identify what might be taking my space up?

Before you do anything else, try rebooting the Mac, or at least logging out and back in. OSX creates virtual memory swap files on the disk. They can get quite huge over time and aren't deleted until you reboot or log out.
 

yellow

Moderator emeritus
Oct 21, 2003
16,018
6
Portland, OR
IJ Reilly said:
They can get quite huge over time and aren't deleted until you reboot or log out.

Actually.. only rebooting will remove them (unless you remove them by hand or 3rd party util). Logging out/in won't do a thing. They are removed as part of the startup script, /etc/rc
 

840quadra

Moderator
Staff member
Feb 1, 2005
9,481
6,377
Twin Cities Minnesota
I thought both worked (not trying to confuse anyone)

I thought I read on OSX hints that logging out and in would remove some of the User VM Cache, and rebooting would take care of both user and system VM cache.

anybody know for sure?

image.php
 

yellow

Moderator emeritus
Oct 21, 2003
16,018
6
Portland, OR
Can you provide a link to that on OSXHints? I'd be quite surprised that logging out would do anything to /var/vm. And where is there a user vm cache? Is this new to Tiger? Because this was not the case in previous iterations of OS X.
 

carpe diem

macrumors 6502
Sep 18, 2005
452
0
I used omnidisk sweeper before Tiger now i use Spotlight you can search for files larger than a predetermined size it is reaaly good.
 

840quadra

Moderator
Staff member
Feb 1, 2005
9,481
6,377
Twin Cities Minnesota
yellow said:
Can you provide a link to that on OSXHints? I'd be quite surprised that logging out would do anything to /var/vm. And where is there a user vm cache? Is this new to Tiger? Because this was not the case in previous iterations of OS X.

Like I said, I am not exactly sure and was looking for clarification of that myself. I vaguely remember reading something like that when i was researching how to get spotlight to index network volumes.

I will try to repeat my steps and see if I can "stumble" across that post again.

image.php
 

yellow

Moderator emeritus
Oct 21, 2003
16,018
6
Portland, OR
If there was user-specific virtual memory swap files created, following all other logic for OS X, it should be created in ~/Library/foo, but I cannot find any indication of anything to that effect. Nor is there any deliniation between "system" and "user" in /var/vm/.
 

IJ Reilly

macrumors P6
Jul 16, 2002
17,909
1,496
Palookaville
yellow said:
If there was user-specific virtual memory swap files created, following all other logic for OS X, it should be created in ~/Library/foo, but I cannot find any indication of anything to that effect. Nor is there any deliniation between "system" and "user" in /var/vm/.

I used to check my /vm directory for the accumulation of swap files, and I distinctly recall seeing some if not all of the swap files being deleted after a log out. Sorry, I know this is a completely non-technical explanation, but I did see it with my own peepers a few times.
 

yellow

Moderator emeritus
Oct 21, 2003
16,018
6
Portland, OR
IJ Reilly said:
I used to check my /vm directory for the accumulation of swap files, and I distinctly recall seeing some if not all of the swap files being deleted after a log out. Sorry, I know this is a completely non-technical explanation, but I did see it with my own peepers a few times.

Well, I've experimented quite heavily with this now.

I believe that what you have seen (I too have now seen this with Tiger, but not Panther) is better memory management in Tiger. I'm thinking that the logout causes all your apps to be quit. When they are quit, their demand for RAM (or swap) is removed, and the OS frees up the RAM (or swap) very quickly. So, technically, you wouldn't need to logout, simply quitting your apps would accomplish the same thing. Which I have just tested and confirmed.

However, you're right with the 'shotgun approach', logging out may remove some of swap files because all the demanding apps are quitting and the memory management is superior in Tiger then those of it's predecessors..

I would advise the original poster to use reboots to remove swap files if (s)he is running Panther or before.

EDIT: I should also note that rebooting is far more complete at removing ALL swap files, rather then memory management clean up that quitting all apps would do. In the case of the OP, using OmniDiskSweeper after a reboot would be the BEST bet on finding where your missing disk space is, with the caveat of NOT removing anything that you're not 100% familiar with.
 

LastLine

macrumors 65816
Original poster
Aug 24, 2005
1,313
21
carpe diem said:
I used omnidisk sweeper before Tiger now i use Spotlight you can search for files larger than a predetermined size it is reaaly good.
How do I set file sizes?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.