unity-music-daemon using a huge amount of ram

Bug #964684 reported by eden6000 on 2012-03-25
66
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Music Lens
Medium
Michal Hruby
Unity
Fix Released
Medium
Michal Hruby
unity (Ubuntu)
Undecided
Unassigned
unity-lens-music (Ubuntu)
Medium
Michal Hruby

Bug Description

As of subject, on 12.04 64bit fully updated, some minutes after starting the session, unity-music-daemon starts to use on my pc about 140 mb of ram.
I suppose this is not normal.

Related branches

Nekhelesh Ramananthan (nik90) wrote :

Just to provide a reference. On my 32-bit machine the unity-music-daemon uses only 3 mb of ram! So this is definitely a bug. However waiting for other 64-bit users to confirm this first.

Omer Akram (om26er) on 2012-03-25
affects: unity → unity-lens-music
JG (jdogzz-g5) wrote :

I'm using 12.04 64 bit and it takes up 1 GB of RAM! I have a huge music collection, yes, but it shouldn't be taking up more RAM than the music player itself.

What precisely do you mean with "huge" JG?

PS: You can quickly count the number of files under your music folder by running this command in a terminal: "find ~/Music | wc -l"

eden6000 (eden6000) wrote :

I'm on my other machine now, music directory counts 12674 files, occupying 68,8 gb of space...in this system too unity-music-daemon is using 126 mb of ram.

JG (jdogzz-g5) wrote :

According to the command you gave, there are 87245 files in my music folder (stored on an external drive). The number of actual songs is 58382 according to Rhythmbox.

Michal Hruby (mhr3) wrote :

There are some simple optimizations we could do to deal with this (like using ref-counted strings to store the albums / artist names).

Changed in unity-lens-music:
assignee: nobody → Michal Hruby (mhr3)
importance: Undecided → Medium
milestone: none → 5.10.0
status: New → Triaged
Michal Hruby (mhr3) on 2012-03-26
Changed in unity:
milestone: none → 5.10.0
importance: Undecided → Medium
status: New → Triaged
Michal Hruby (mhr3) on 2012-03-26
Changed in unity:
assignee: nobody → Michal Hruby (mhr3)
Nekhelesh Ramananthan (nik90) wrote :

oh yeah, mine is a mere 400 files since I mostly use spotify..that's probably why the memory usage is also small.

Michal Hruby (mhr3) on 2012-03-27
Changed in unity-lens-music:
status: Triaged → In Progress
Dave Conniff (chronniff) wrote :

yeah, I'm having the same issue with the unity-music-daemon. I have 64 gigs of music on my computer and its using around 300mb of ram that I can see.....wouldn't be an issue if my aging laptop didn't only have 2 gigs of ram and I have become addicted to chrome which eats of tons of memory as it is

Dave Conniff (chronniff) wrote :

maybe just an option to turn off the lens?

Michal Hruby (mhr3) on 2012-03-30
Changed in unity:
status: Triaged → In Progress
Omer Akram (om26er) on 2012-04-01
Changed in unity-lens-music (Ubuntu):
importance: Undecided → Medium
status: New → Fix Committed
Changed in unity:
status: In Progress → Fix Committed
Changed in unity-lens-music:
status: In Progress → Fix Committed
Changed in unity-lens-music (Ubuntu):
assignee: nobody → Michal Hruby (mhr3)
Viorel Lazar (viorelmarius) wrote :

still no change for me, unity-music-daemon "eat" 524MB of ram, all updates done, see attached picture

Fix commited does not mean Fix released. This fix, according to the milestone, is part of Unity 5.10 and the repos still have 5.8.

Didier Roche (didrocks) on 2012-04-12
Changed in unity:
status: Fix Committed → Fix Released
Changed in unity-lens-music:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unity-lens-music - 5.10.0-0ubuntu1

---------------
unity-lens-music (5.10.0-0ubuntu1) precise; urgency=low

  * New upstream release.
    - unity-music-daemon crashed with SIGSEGV in find_term_real() from
      dee_tree_index_lookup() from dee_index_lookup() from
      unity_music_lens_rhythmbox_collection_search() (LP: #963991)
    - unity-music-daemon using a huge amount of ram (LP: #964684)
  * debian/control:
    - as there is no more banshee u1 music store, make unity-scope-musicstores
      dep on rhythmbox-ubuntuone (LP: #969271)
    - removing libxml2-dev build-dep
    - bump Standards-Version to latest
 -- Didier Roche <email address hidden> Thu, 12 Apr 2012 11:41:51 +0200

Changed in unity-lens-music (Ubuntu):
status: Fix Committed → Fix Released
FuzzyQ (atomicfuzzyq) wrote :

I'm running version 5.12.0-0ubuntu1 of unity-lens-music and memory consumption is at 170 MB of ram. Any suggestions?

Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers