• 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: upper limit on retain count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: upper limit on retain count


  • Subject: Re: upper limit on retain count
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 19 Apr 2005 20:55:26 +0200

Ivan,

On 19.4.2005, at 20:30, Ivan S. Kourtev wrote:

It's not at all infeasible that the low-level physical description of such artifacts contain 1e9 devices, each described by orders of magnitude of more objects. In certain situations one cannot work on these things in a hierarchical fashion and one needs to work on them "flat," so there can be "a lot" of objects, each with "a lot" of connections to others, and each flagged with a myriad of other objects.

Well, I fear in that case you *cannot* use ObjC objects for them. 1e9 plus objects means (considerably more than) 7 GB of address space. Although that is not in principle problem with a G5, currently it *is* an unsolvable problem with the ObjC runtime (or at the very least the Cocoa libraries -- see http://developer.apple.com/macosx/tiger/64bit.html for details), which is and in 10.4 remains 32-bit-based.


On the other hand, I do agree it would be nice if the documentation explicitly stated that an "overretained" object sticks and there is no fear of the retain count wrapping through zero.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc


_______________________________________________
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: upper limit on retain count
      • From: Scott Ribe <email@hidden>
References: 
 >upper limit on retain count (From: "Ivan S. Kourtev" <email@hidden>)
 >Re: upper limit on retain count (From: j o a r <email@hidden>)
 >Re: upper limit on retain count (From: "Ivan S. Kourtev" <email@hidden>)

  • Prev by Date: Re: Saving UTF-8 as File
  • Next by Date: Re: Saving UTF-8 as File
  • Previous by thread: Re: upper limit on retain count
  • Next by thread: Re: upper limit on retain count
  • Index(es):
    • Date
    • Thread