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 > Progressive memory leaks

Progressive memory leaks
Thread Tools
Dedicated MacNNer
Join Date: Nov 2002
Status: Offline
Reply With Quote
May 6, 2003, 08:15 PM
 
I generally leave about 1.5 gb free on my main partition... I know that's "cutting it close" but the rest of my partitions are full, too, so until I get a new HD, that's the way things are going to be.

I'll watch as after only 2h of running, swap space encroaches upon the disk until there's 94 mb (!!!) remaining, at which point ALL OF MY PREFERENCES GET TRASHED.

Now the memory leak is one issue.

But why does OS X trash all of your preferences when disk space gets low? Is there any logical explanation for this before? It's happened to me three times now and it's just not cool.
I offer strictly b2b web-based server-side enterprise solutions for growing e-business trusted content providers ;]
     
Dedicated MacNNer
Join Date: May 2002
Status: Offline
Reply With Quote
May 6, 2003, 08:29 PM
 
OK. I dont know exactly what you are mean
by trashing your prefrences but I think
what might be happening is that there you
can write to disk so the prefrences are
not saved.

Just something to think about Imagine if instead of running out of disk space you
would run out of vm but your prefrences
would be intact. Will that be a better
solution ? I don't think so
     
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status: Offline
Reply With Quote
May 6, 2003, 08:35 PM
 
Originally posted by trusted_content:
But why does OS X trash all of your preferences when disk space gets low? Is there any logical explanation for this before? It's happened to me three times now and it's just not cool.
This is by design. CoreFoundation (which CFPreferences is a part of) is designed without error checking. If something goes wrong (like disk full) - tough luck. But in normal operation it is slightly faster.
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
     
   
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 08:08 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