• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
anyone else having problems doing Malloc Trace in Shark or watching Memory Allocations in Sampler?
[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?


  • Subject: anyone else having problems doing Malloc Trace in Shark or watching Memory Allocations in Sampler?
  • From: "Michael B. Johnson" <email@hidden>
  • Date: Thu, 6 Apr 2006 16:59:48 -0700

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
--> http://homepage.mac.com/drwave (personal)
--> http://xenia.media.mit.edu/~wave (alum)
--> 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:

This email sent to email@hidden

  • Prev by Date: Re: Building for PowerPC *only* from an Intel-based Mac
  • Next by Date: Compiling .r files
  • Previous by thread: spaces in paths, again
  • Next by thread: Compiling .r files
  • Index(es):
    • Date
    • Thread