small medium large xlarge

15 Aug 2009, 23:22
Jennifer Mitchell (4 posts)

I am reading through Chapter 8 and using Instruments and running into a difference with the book.

I successfully saw the leak of the Greeter object in the first example. I changed Garbage Collection to “Supported”, rebuilt HelloWorld, and re-ran Instruments. Now I get more elements leaked! A whole bunch of NSCFNumber objects, NSCFArray, NSCFString, GeneralObject…

I took a screen shot if anybody wants to see the difference. Does anybody else experience this same problem? I am running 10.5.8 on a MacBook with XCode 3.1.3.


16 Aug 2009, 11:09
Eimantas Vaiciunas (10 posts)

There is possibility to view which libraries leak those objects. Here’s a screenshot of my HelloWorld instruments leakage:

You must be logged in to comment