• 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: NSEnumerator retaining objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEnumerator retaining objects?


  • Subject: Re: NSEnumerator retaining objects?
  • From: Zach Wily <email@hidden>
  • Date: Wed, 9 Mar 2005 16:59:16 -0700


I have (potentially) about 10 million of these things. Having 10,000,000 objects stuck in an autorelease pool removes the ability to immediately release them (meaning about 600+ MB of memory) and I'm stuck with an autorelease pool that's at least 40MB in size (10,000,000*sizeof(id)).

You could create and release your own autorelease pool every few thousand iterations...


zach

_______________________________________________
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


  • Follow-Ups:
    • Re: NSEnumerator retaining objects?
      • From: John Stiles <email@hidden>
References: 
 >Re: NSEnumerator retaining objects? (From: James Bucanek <email@hidden>)

  • Prev by Date: Bindings and File's Owner
  • Next by Date: Re: SystemStatusBar question
  • Previous by thread: Re: NSEnumerator retaining objects?
  • Next by thread: Re: NSEnumerator retaining objects?
  • Index(es):
    • Date
    • Thread