[sip-comm-dev] Growl - memory checks


#1

Hi Egidijus,

# Replying to the ML, some people here may have some hints for this topic

···

On 2009/07/09, at 17:29, Egidijus Jankauskas wrote:

I have spent quite some time trying to see if the library leaks the memory. It looks like it is not leaking, at least after sending 1000 notifications in a row the memory usage increases, but then later decreases to the same level as before. But that is not a proof. It is really hard to tell who is responsible for every memory allocation. In the screenshot below, you can see two runs of one of my test apps. The top one shows object allocations over time when I attach the Instruments tool after the program creates the Growl object, and the bottom one shows object allocations when the creation of Growl object is included. These small bumps represent notifications shown. To be honest, I don't know how to properly test it :slight_smile:

That's a good start. Can you also get some statistics when the test application finishes? (e.g. if some objects were not freed).

Cheers,
romain