Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

trainguy77

macrumors 68040
Original poster
Nov 13, 2003
3,567
1
How do I find out what is currently in RAM for a particular application. I am trying to help fix a RAM issue in adium, however leaks does not show it. What else can we use to view everything in RAM for it?
 

Catfish_Man

macrumors 68030
Sep 13, 2001
2,579
2
Portland, OR
ObjectAlloc + mallocstacklogging (google them and you should find information on it)

Be warned: it's very very slow and uses a ton of ram to do this analysis. My machine can't really handle it, unfortunately.

You can also use the instance counting mechanism I added to Adium (Check the #defines in AIAdium.h in the 1.0 source), but it will only count subclasses of AIObject, so if (for example) the issue is a bunch of NSDictionaries being kept around, it won't reveal that.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.