• 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
question re: mem leak analysis and RSIZE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: question re: mem leak analysis and RSIZE
      • From: John Clayton <email@hidden>
  • Prev by Date: Garbage collection and root objects
  • Next by Date: Re: -[NSWindowController window] fails
  • Previous by thread: Re: Garbage collection and root objects
  • Next by thread: Re: question re: mem leak analysis and RSIZE
  • Index(es):
    • Date
    • Thread