• 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: Need help with a nasty memory management problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need help with a nasty memory management problem


  • Subject: Re: Need help with a nasty memory management problem
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 5 Aug 2005 17:57:23 -0600


On Aug 5, 2005, at 4:48 PM, Michael Heinz wrote:

Malloc debugger says I'm not leaking - but obviously I need to periodically force a garbage collection loop. Is there some way to force garbage collection to occur?

Yes, there is a way.

Can I spawn a secondary thread to do garbage collection?

You probably can, but I wouldn't recommend it. I don't think autorelease pools are thread-safe.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Need help with a nasty memory management problem (From: Michael Heinz <email@hidden>)

  • Prev by Date: Re: Need help with a nasty memory management problem
  • Next by Date: Prevent a split view to resize a view when the window is resized ?
  • Previous by thread: Re: Need help with a nasty memory management problem
  • Next by thread: Memory management problem - solvee
  • Index(es):
    • Date
    • Thread