On Aug 1, 2012, at 14:45 , Fritz Anderson <fri...@me.com> wrote:

> On 1 Aug 2012, at 3:58 PM, Rick Mann <rm...@latencyzero.com> wrote:
> 
>> I know how to run instruments. Show me the documentation that tells me how 
>> to actually do something with Allocations. If you look at my previous email 
>> on the subject, you can see that I ran Allocations way back when it was 
>> suggested, and found NO allocations of NSFileHandle.
> 
> My book has a couple of chapters on Instruments, including a lengthy example 
> of how to use the Allocations instrument.
> 
> I am reluctant to self-promote, but it's responsive to your search for 
> documentation.

No, please do. I appreciate it. I got a little farther by realizing I had to 
search for NSConcreteFileHandle (or just "filehandle"). But near as I can tell, 
it's still being deallocated, just leaving behind the file descriptor.

Instruments behaves inconsistently for me, and it's hard to understand why. I 
also can't find explanations for numerous things I see in the UI, things that 
don't make any sense (like percentages on lines of code that never execute).

-- 
Rick



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to