← Back to team overview

desktop-packages team mailing list archive

[Bug 987060] Re: massive memory leak in unity-panel-service and hud-service when invoking the hud on Firefox profiles with large amounts of bookmarks LTS 12.04 14.04

 

The problem for me seemed to have been caused by having a single very
large PDF on my Desktop. Even after stopping hud-service from executing
I noticed that nautilus was consistently using 15% of one CPU core, but
as soon as I moved that PDF somewhere else the problem went away. I've
now allowed hud-service to run again, rebooted, and things appear to be
working nicely again.

Observations:

 - Why is generating the preview icon for a large PDF so costly? Surely only the first page should be read and used for that purpose?
 - Surely these preview icons should be cached?
 - I think even if generating the preview icon is expected to be costly, there is a bug here as there is definitely a memory leak + the CPU usage stayed consistently high for hours. Surely the process should finish and then the CPU usage should drop away again?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/987060

Title:
  massive memory leak in unity-panel-service and hud-service when
  invoking the hud on Firefox profiles with large amounts of bookmarks
  LTS 12.04 14.04

Status in Unity HUD:
  Confirmed
Status in Application Menu Indicator:
  Confirmed
Status in Unity:
  Won't Fix
Status in firefox package in Ubuntu:
  Incomplete
Status in hud package in Ubuntu:
  Confirmed
Status in unity package in Ubuntu:
  Invalid

Bug description:
  unity-panel-service and hud-service quickly racks up memory and CPU
  usage until I kill it when invoking the HUD on Firefox. It's taking
  anywhere from a few minutes to half an hour, but it sometimes makes
  the system completely unusable.

  1. run Firefox 12.0 in the foreground
  2. hit Alt to bring up HUD
  3. type any text
  4. select one proposal from HUD
  5. wait for unity-panel-service and hud-service to fill up the remaining RAM and swap space.

  This is due to a high number of bookmarks in a user profile
  (hundreds).

To manage notifications about this bug go to:
https://bugs.launchpad.net/hud/+bug/987060/+subscriptions


Follow ups