Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

anyone else having problems doing Malloc Trace in Shark or watching Memory Allocations in Sampler?



I've sent mail off to the perftools folks at Apple, but thought someone here might have some good thoughts on how to fix this:

I've had great luck over the years using Sampler, and to a lesser degree, Shark to find memory leaks in our Cocoa code here.  Unfortunately, I'm having no luck lately, and I'm not sure what I'm doing wrong.

I've got a Quad G5 w/4GB of RAM running OSX.4.5 with XCode 2.2.1 and a freshly reinstalled (after running the CHUD remover) CHUD 4.3.2-1.

I start up my app under the debugger in XCode and attach to it with Sampler.  If I do "Timed Samples" it seems to work fine.  When I switch over to "Memory Allocations" and do Start recording and then do stop, it shows me nothing.  Doesn't matter if I do Show only active blocks or not, same problem.

If I fire up Shark, and select "Malloc Trace" and then start and then stop, I get:

ERROR
No samples take. [MallocDataSource]

other Shark functions work fine.

I don't think I have anything funny installed on this machine, and I'm at a loss (and I really need to track down this memory leak!).

Any help would be appreciated...


--> Michael B. Johnson, PhD
--> MPG Lead
--> Pixar Animation Studios



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.