Skip navigation.
 
mlRe: upper limit on retain count
FROM : Ondra Cada
DATE : Tue Apr 19 20:55:26 2005

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_removed>              http://www.ocs.cz
private        <email_removed>            http://www.ocs.cz/oc

Related mailsAuthorDate
mlupper limit on retain count Ivan S. Kourtev Apr 18, 22:43
mlRe: upper limit on retain count Daniel Jalkut Apr 19, 07:05
mlRe: upper limit on retain count John Stiles Apr 19, 17:45
mlRe: upper limit on retain count j o a r Apr 19, 18:19
mlRe: upper limit on retain count Axel Andersson Apr 19, 18:44
mlRe: upper limit on retain count Ali Ozer Apr 19, 18:46
mlRe: upper limit on retain count Ondra Cada Apr 19, 18:57
mlRe: upper limit on retain count Ivan S. Kourtev Apr 19, 20:30
mlRe: upper limit on retain count Ondra Cada Apr 19, 20:55
mlRe: upper limit on retain count Shaun Wexler Apr 19, 21:05
mlRe: upper limit on retain count Shaun Wexler Apr 19, 21:09
mlRe: upper limit on retain count Scott Ribe Apr 23, 00:25
mlRe: upper limit on retain count Bob Ippolito Apr 23, 00:40
mlRe: upper limit on retain count Scott Ribe Apr 23, 00:51
mlRe: upper limit on retain count Bob Ippolito Apr 23, 06:57
mlRe: upper limit on retain count Johnny Deadman Apr 23, 18:44