OS X 10.6.7, Growl 1.2.1, Python 2.7.1

The following script consumes memory endlessly: (caution: very spammy
and might considerably slow down your system)

import Growl

growler = Growl.GrowlNotifier(
    applicationName = "leaktest",
    notifications = ["example"]
)
growler.register()

icon = Growl.Image.imageFromPath("some-icon.png")

while True:
    growler.notify(
        noteType = "example",
        title = "title",
        description = "description",
        icon = icon
    )

Of course, this makes writing long-running scripts problematic. It
looks like the leak might lie somewhere in the icon handling code,
because if I set icon = None, memory use seems to stay constant.

-- 
You received this message because you are subscribed to the Google Groups 
"Growl Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/growldiscuss?hl=en.

Reply via email to