Elusive memleaks and slowdowns of places

Bug #652864 reported by Mikkel Kamstrup Erlandsen
38
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
unity (Ubuntu)
Fix Released
High
Unassigned

Bug Description

With extensive exercising of the places you see occasional, but big memleaks. Also notable slowdowns - mainly because of too aggresive memory reallocations.

Related branches

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Fixed (or at the very least "addressed" :-)) in lp:unity revision 566:

------------------------------------------------------------
revno: 566 [merge]
fixes bug(s): https://launchpad.net/bugs/652864
committer: Mikkel Kamstrup Erlandsen <email address hidden>
branch nick: MASTER
timestamp: Fri 2010-10-01 12:17:29 +0200
message:
  Merge Mikkel's branch lp:~unity-team/unity/plugging-leaks-with-a-nailgun:

   * Plug elusive, but big, leaks when exercising the places. Note that low end graphics hardware (like my i945) still has trouble keeping up with our aggresive allocations of new textures for the tiles. This triggers lots of garbage collections in the driver which causes noticiable lag in the UI. Fixing this will require more work.

   * Fix occasional slowdown of place rendering because of mem churn
------------------------------------------------------------

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

I've found a way to consistently trigger this: Click Apps Place (or Files if you prefer) then, quickly, before it's completely rendered click the CoF to dismiss the place.

It may well be somehow related to the internal garbage collector of the i945 driver, but that's pure guesswork. The guess would be that once you stress the GC enough it just completely gives up. This is suspicion is further strengthened by the fact that once my virt mem goes past 700-800mb it starts leaking ~100mb *every* time I bring up a place, no matter how long time I give it. I can continue this ad OOMium.

Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 2010-09-27
status: New → In Progress
David Barth (dbarth)
Changed in unity:
milestone: 2010-09-27 → 0.2-sru
Changed in unity (Ubuntu):
status: New → In Progress
importance: Undecided → High
Neil J. Patel (njpatel)
Changed in unity:
status: In Progress → Triaged
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: In Progress → Triaged
Neil J. Patel (njpatel)
Changed in unity:
status: Triaged → Fix Released
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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