Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > recover hard disk space after reboot

recover hard disk space after reboot
Thread Tools
Mac Enthusiast
Join Date: Sep 2000
Location: France
Status: Offline
Reply With Quote
Dec 3, 2003, 09:02 PM
 
Hi all

Before I downloaded a big file, I chose to reboot my Mac after 13 days of uptime, to see if I could regain some hard disk space (I had only 1.2 GB left). After the restart, I was happy to find that 2 GB were available on my OS X partition.
I'd like to know why hard disk space is gradually lost, and not recovered until reboot. Is there another simpler way to get space back (not that rebooting is THAT much of a hassle, but still...)

Thx
     
Senior User
Join Date: May 2001
Location: Boston, MA
Status: Offline
Reply With Quote
Dec 3, 2003, 09:07 PM
 
Running the system maintenance scripts may regain the space without a reboot.
     
Mac Elite
Join Date: Feb 2001
Location: Washington, DC
Status: Offline
Reply With Quote
Dec 3, 2003, 10:49 PM
 
Basically, it sounds like it's virtual memory swap files that's taking up the space.

The computer automatically cleans them up at boot and around 3:15 am every day - but it won't happen if your computer is asleep.

Out of curiosity - how much RAM do you have? The more memory you have, the fewer swap files you'll get.
/Earth\ Mk\.\ I{2}/
     
Axel  (op)
Mac Enthusiast
Join Date: Sep 2000
Location: France
Status: Offline
Reply With Quote
Dec 4, 2003, 06:33 AM
 
Originally posted by Earth Mk. II:
Basically, it sounds like it's virtual memory swap files that's taking up the space.

The computer automatically cleans them up at boot and around 3:15 am every day - but it won't happen if your computer is asleep.

Out of curiosity - how much RAM do you have? The more memory you have, the fewer swap files you'll get.
I have 512 MB of RAM. But your theory makes sense, as my TiBook is always sleeping at that time. I guess I'll just change the crontab times.

Thx for your answers !
     
Mac Enthusiast
Join Date: Oct 2001
Status: Offline
Reply With Quote
Dec 4, 2003, 06:34 AM
 
I posted this in another thread but its pertinent here as well. Ever since upgrading to panther, my VM seems out of control. I have 1.5 gigs of physical ram, and frequently must reboot to regain the 3 to 5 gigs of space VM is taking for swap files.
3R1C
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Dec 4, 2003, 09:17 AM
 
Originally posted by 3R1C:
I posted this in another thread but its pertinent here as well. Ever since upgrading to panther, my VM seems out of control. I have 1.5 gigs of physical ram, and frequently must reboot to regain the 3 to 5 gigs of space VM is taking for swap files.
notice they're different sizes also? pre-10.3, they were always about around 76Mb. now, they're 64Mb, then 128Mb, 256Mb, etc.

anyone know why this is?
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Addicted to MacNN
Join Date: Jan 2001
Location: The Sar Chasm
Status: Offline
Reply With Quote
Dec 4, 2003, 09:54 AM
 
I've noticed that running Mac Janitor's "weekly" task will clear out inactive memory relatively effectively, which might help to keep the number of swapfiles down. We had to restart a machine with 1.75 gig of RAM in it because it had toatally filled the available hard drive space (2.3 gig) with swap files, and was giving us "out of memory" messages. I'm thinking there's sonmething slightly askew with RAM allocation on 10.3, like inactive memory is not being properly cleared to make room for new processes when called for. Why should I be generating swap files if I've got a ton of inactive RAM?

CV
(Last edited by chris v; Dec 4, 2003 at 10:01 AM. )

When a true genius appears in the world you may know him by this sign, that the dunces are all in confederacy against him. -- Jonathan Swift.
     
Mac Elite
Join Date: Apr 2003
Location: The City Of Diamonds
Status: Offline
Reply With Quote
Dec 4, 2003, 10:24 AM
 
Originally posted by chris v:
I've noticed that running Mac Janitor's "weekly" task will clear out inactive memory relatively effectively, which might help to keep the number of swapfiles down. We had to restart a machine with 1.75 gig of RAM in it because it had toatally filled the available hard drive space (2.3 gig) with swap files, and was giving us "out of memory" messages. I'm thinking there's sonmething slightly askew with RAM allocation on 10.3, like inactive memory is not being properly cleared to make room for new processes when called for. Why should I be generating swap files if I've got a ton of inactive RAM?

CV
Indeed and doing a "sudo periodic" does not delete the swapfiles.

I have now a total of 512MB in swap after 14 days of uptime (1GB RAM)
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 11:55 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2