Re: Continious/Auto-repeat Buttons & Steppers leak 30Kb+ per second!!?
Re: Continious/Auto-repeat Buttons & Steppers leak 30Kb+ per second!!?
- Subject: Re: Continious/Auto-repeat Buttons & Steppers leak 30Kb+ per second!!?
- From: Gary C Martin <email@hidden>
- Date: Wed, 22 Aug 2001 16:32:34 +0100
On Monday, August 20, 2001, at 01:46 am, Jonathan Hendry wrote:
Run leaks on one of your test applications:
>leaks <pid>
That ought to show you what's being leaked.
- Jon
Thanks Jon, I've been exploring some of the provided tools (Sampler and
Malloc Debug), leaks was one I hadn't tried/noticed yet. I've spent some
more time going through the documentation in more detail - a good one I
can recommend to new developers is titled "Inside Max OS X Performance"
(Performance.pdf). However, using the recommended tools I still don't
have a satisfactory answer to where memory is draining away.
I'm happy that my application is not leaking memory in the strict
definition of the term but from the system perspective (i.e using top or
Process Viewer ) using continuous/auto-repeat controls still 'eat'
memory at about 30Kb per second of use.
Any one have an insight into what may be happening? Should I take the
question to another Apple list? My code is otherwise complete but I'm
uncomfortable in making it available for users to download until I
understand if this is normal system behavior or a coding issue that can
be fixed.
It's a small utility application providing accurate luna phase
information in a pop-up panel and an animated moon phase illustration in
the dock. I can provide a beta if someone wants a closer look.
Regards,
Gary C Martin