• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Don't leak memory!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Don't leak memory!!


  • Subject: Re: Don't leak memory!!
  • From: Jens Bauer <email@hidden>
  • Date: Fri, 21 Nov 2003 12:49:54 +0100

Hi Kyle,

On Friday, November 21, 2003, at 04:57 AM, Kyle Moffett wrote:

I was victim for a quick memory-leak, and because Mail.app couldn't allocate memory for its preferences (that it keeps reading and writing all the time), I lost..
1: All my email account settings
2: A bunch of mailboxes (one for an entire email account, yep!)
3: Preferences in Finder (as usual!)
4: Some iTunes preferences
5: Who knows?

Ouch!!!

I have had similar problems, and I solved it by allocating a 1GB swap partition
and setting it up to be mounted over /private/var/vm. That way, even if something
leaks memory, I'll always have free hard-drive space, so the worst that can
happen (And this does happen occasionally) is that the machine locks solid and
requires a hard reboot. Much better than loosing all of ones email records.

Wonderful idea. Why did I forget about the swap-partitions?
-I've used that on Linux always, but I never gave it a thought.
This is indeed something I plan to do! =)

Beware of the Belkin Universal UPS 800/1000/1200 client. It has a very bad
tendency to leak memory if the UPS is connected, and chews lots of CPU
cycles when it isn't. yuck

Thanks for the warning. I don't have any UPS, other than the batteries in my portable, which I use for Web-server. (This is the best UPS, last for 10 hours, and it's much cheaper than all those "pro servers"). =)

Thanks for the tips! =)


Love,
Jens
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Don't leak memory!!
      • From: Kyle Moffett <email@hidden>
References: 
 >Re: Don't leak memory!! (From: Kyle Moffett <email@hidden>)

  • Prev by Date: Re: allocate a 2d array of floats?
  • Next by Date: Re: [OT] Re: Don't leak memory!!
  • Previous by thread: Re: Don't leak memory!!
  • Next by thread: Re: Don't leak memory!!
  • Index(es):
    • Date
    • Thread