question re: mem leak analysis and RSIZE
question re: mem leak analysis and RSIZE
- Subject: question re: mem leak analysis and RSIZE
- From: John Clayton <email@hidden>
- Date: Fri, 28 Nov 2008 17:02:43 +0100
Hi All,
I'm at the stage of performing a bit of leak analysis on my program,
and I find something weird happening. Specifically:
1. the program, as reported by both Instruments w/Leaks and Mallog
Debug isn't leaking more than 1.3k per document open/close cycle
2. multiple document open/close cycles cause the RSIZE to increase by
approx 7 meg each cycle (as reported by Activity Monitor)
e.g before / after RSIZE values on each doc open/close cycle are (in
Megs):
1. 45 doc opened / 33 after doc closed.
2. 53 / 41
3. 61 / 49
4. 69 / 56
So each document cycle is someone swallowing 7 megs. Leaks and
MallocDebug are showing something like 1.5k in leaks - so I wonder, is
my program leaking? Is it something else? How can I track this or
even begin to *understand* what might be happening? I would have
thought Instruments would have caught this and reported it?
I'm not using Zombies, but I do have the debug library symbols
installed.
Any tips / help appreciated.
Thanks
--
John Clayton
Skype: johncclayton
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden