Memory leak appearing in "unity-panel-sevice" arrives and disappears with Recent-Notifications

Bug #1391649 reported by Scott May
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
recent-notifications
Fix Released
High
Unassigned

Bug Description

I installed "recent-notifications" on both my laptop and desktop, and within days noticed a memory leak on both. On my desktop, after running for a period of several days the "unity-panel-service" was consuming over 8GB.

After removing "recent-notifications" I no longer have an accumulating memory leak in "unity-panel-service".

I can re-install and record any debug information you want, just let me know.

Jason Conti (jconti)
Changed in recent-notifications:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Jason Conti (jconti) wrote :

Sorry about the really late reply. I am usually emailed about new bugs but I never got this one.

I can actually see the memory increase a little bit after each 'notify-send'. I thought the indicator was cleaning itself up pretty well, but I guess not. Though interestingly, I don't really see much if any increase in indicator-applet-complete in the gnome flashback session, so maybe it is a problem with unity-panel-service.

I'm going to take a look and see if I can figure anything out.

Revision history for this message
Jason Conti (jconti) wrote :

Turns out there was a pretty serious memory leak in notification_new_from_dbus_message. I didn't think I owned the references to the GVariants, but as it turns out, I did.

Before the fix valgrind was telling me we were leaking about 1M per 1000 notifications.

I have pushed the fix out for 14.04, 15.04 and 15.10. I can push it to older versions if necessary, not sure which ones still have support.

Again apologizes about missing this bug for so long.

Changed in recent-notifications:
status: Confirmed → Fix Released
Revision history for this message
Scott May (falconapps) wrote : Re: [Bug 1391649] Re: Memory leak appearing in "unity-panel-sevice" arrives and disappears with Recent-Notifications

Hi Jason,

Thanks and good on ya' :)

Regarding versions - I think the three versions you mention are the only
ones worth worrying about.

Have a great day!

On Sat, Oct 24, 2015 at 8:16 AM, Jason Conti <email address hidden>
wrote:

> Turns out there was a pretty serious memory leak in
> notification_new_from_dbus_message. I didn't think I owned the
> references to the GVariants, but as it turns out, I did.
>
> Before the fix valgrind was telling me we were leaking about 1M per 1000
> notifications.
>
> I have pushed the fix out for 14.04, 15.04 and 15.10. I can push it to
> older versions if necessary, not sure which ones still have support.
>
> Again apologizes about missing this bug for so long.
>
> ** Changed in: recent-notifications
> Status: Confirmed => Fix Released
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1391649
>
> Title:
> Memory leak appearing in "unity-panel-sevice" arrives and disappears
> with Recent-Notifications
>
> Status in recent-notifications:
> Fix Released
>
> Bug description:
> I installed "recent-notifications" on both my laptop and desktop, and
> within days noticed a memory leak on both. On my desktop, after
> running for a period of several days the "unity-panel-service" was
> consuming over 8GB.
>
> After removing "recent-notifications" I no longer have an accumulating
> memory leak in "unity-panel-service".
>
> I can re-install and record any debug information you want, just let
> me know.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/recent-notifications/+bug/1391649/+subscriptions
>

--

Till later,
Scott.
______________________________
    Scott May.
    <email address hidden>

    Mobile 0417 195 018

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.