Memory usage increases a lot after (un)installing applications

Bug #573000 reported by seraus on 2010-05-01
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)

Bug Description

Binary package hint: software-center


installing 4 or 5 packages at the same time with ubuntu software center results in a heavy memory consumption by software center (about 450 MB).
I'm using ubuntu 10.04 LTS netbook remix on an Acer d250 netbook with 1 gb RAM.

I've taken a screenshot of system monitor with the high memory consumption by software center.


  Installato: 2.0.2
  Candidato: 2.0.2
  Tabella versione:
 *** 2.0.2 0
        500 lucid/main Packages
        100 /var/lib/dpkg/status

seraus (seraus) on 2010-05-08
summary: - software-center using too much memory ~ 450 MB !
+ software-center using too much memory ~ 450 MB

I can confirm that software-center has a huge memory leak. Each time you click on "Provided by Ubuntu" it will consume additional 25 MB of RAM. Seems like it's recreating the cache each time.

Changed in software-center (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Olivier Tilloy (osomon) wrote :

@Martin: the memory leak you describe is a different issue, which I can confirm, and for which I reported bug #577540.

Changed in software-center (Ubuntu):
status: Confirmed → New
Olivier Tilloy (osomon) wrote :

I can also observe the memory usage increase when installing and removing applications. However the increase seems to happen at the end of the (un)installation, not during it.

After installing and then removing amarok and abiword, the memory consumption of software-center had jumped by approximately 100MB which were never re-claimed.

Changed in software-center (Ubuntu):
status: New → Confirmed
summary: - software-center using too much memory ~ 450 MB
+ Memory usage increases a lot after (un)installing applications

Thanks Olivier, I found no other bug about memory problems, so I though the cause may be the same one as for this bug. Confirming the new bug.

Michael Vogt (mvo) wrote :

With the current branch in
I can not reproduce this anymore. The memory leak fix that was backported from trunk seems
to fix it (thanks to Olivier).

Matthew Paul Thomas (mpt) wrote :

Ubuntu 10.04 desktop reached End of Life on 9 May 2013, and Michael suggests the problem was fixed anyway. If you still experience the problem with a current version of Ubuntu (12.04, 12.10, or 13.04), please reopen this bug report and provide any further details.

Changed in software-center (Ubuntu):
status: Confirmed → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for software-center (Ubuntu) because there has been no activity for 60 days.]

Changed in software-center (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers