Detecting memory leaks
Detecting memory leaks
- Subject: Detecting memory leaks
- From: email@hidden
- Date: Thu, 08 Sep 2005 19:36:49 +0000
Hi all -
I have written an app that will start up and perform a task x number of times. If I watch the memory and virtual memory in Activity Monitor, they are both increasing. To try to find out what is going on I have turned on "Enable Guard Malloc" in XCode. I then run my application from Debug -> Launch using Performance Tool -> MallocDebug.
Next I start my application and let it run. In MallocDebug I switch to Leaks and it performs the analysis. First question, is this what I want to do to detect memory leaks? Second question, if it is and the call that MallocDebug is finding is a system call, is there something I can do about it?
Thanks,
Kris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden