small medium large xlarge

Generic-user-small
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.

Thanks.

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

There is possibility to view which libraries leak those objects. Here’s a screenshot of my HelloWorld instruments leakage: http://skitch.com/pitchblack/b5x38/picture-3

You must be logged in to comment