• 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
freeing memory from an NSOperation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

freeing memory from an NSOperation


  • Subject: freeing memory from an NSOperation
  • From: Michael Thon <email@hidden>
  • Date: Mon, 21 Dec 2009 16:41:20 +0100

Are NSOperations freed when they finish running or when the whole queue is finished?  My NSOperations seem to hang around, taking up memory even after they have finished their job.  At least, as far as I can tell using the Object Allocations instrument which shows them as living.  I am using an NSOperation with the garbage collector turned on, on Snow Leopard.  I subclassed main and put my computations in there.  When the NSOperationQueue is finished they no longer show as live.  Is this normal behavior?
Thanks
Mike

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Is this possible?
  • Next by Date: Re: Menu shortcuts without modifiers?
  • Previous by thread: Re: Is this possible?
  • Next by thread: Re: Menu shortcuts without modifiers?
  • Index(es):
    • Date
    • Thread