← Back to team overview

dx-packages team mailing list archive

[Bug 725435] Re: notify-osd a memory hog (memory leak?)

 

Well this already looks suspicious:

https://bazaar.launchpad.net/~indicator-applet-developers/notify-
osd/trunk/view/505/src/stack.c#L813

    #define FORCED_SHUTDOWN_THRESHOLD 500
    ....

	// FIXME: this is a temporary work-around, I do not like at all, until
	// the heavy memory leakage of notify-osd is fully fixed...
	// after a threshold-value is reached, "arm" a forceful shutdown of
	// notify-osd (still allowing notifications in the queue, and coming in,
	// to be displayed), in order to get the leaked memory freed again, any
	// new notifications, coming in after the shutdown, will instruct the
	// session to restart notify-osd
	if (bubble_get_id (bubble) == FORCED_SHUTDOWN_THRESHOLD)
		g_timeout_add (defaults_get_on_screen_timeout (self->defaults),
			       _arm_forced_quit,
			       (gpointer) self);

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to notify-osd in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/725435

Title:
  notify-osd a memory hog (memory leak?)

Status in notify-osd package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: notify-osd

  Noticed this today on my lucid box in top:
  2647 myaccount  20   0 1196m 595m 3528 S    0 29.7   1:09.68 notify-osd

  I don't think a simple notifcation daemon should suck up more than a
  Gig of memory of which half is real memory.  It's the first time I
  noticed this.  I don't have too much information at this point.

  $ dpkg -l notify-osd*
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                                          Version                                       Description
  +++-=============================================-=============================================-==========================================================================================================
  ii  notify-osd                                    0.9.29-0ubuntu2                               daemon that displays passive pop-up notifications
  ii  notify-osd-icons                              0.6                                           Notify-OSD icons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/notify-osd/+bug/725435/+subscriptions